/* ==========================================================================
   Josi Static layout motion  (pairs with josi_motion_controller.js)
   Loaded only by the landing_static layout.
   Every animated piece from the Canva designs, rebuilt in HTML/CSS/SVG.
   - Pieces only move while on screen (.jm-on, added by the controller).
   - prefers-reduced-motion: the controller adds .jm-still and shows the end state.
   - Colours come from the existing Static tokens where they exist.
   ========================================================================== */

/* Roboto Thin (Apache 2.0, via Fontsource) for the light "Josi" wordmark on
   the hero banner. The app already ships Light, Regular and SemiBold. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/assets/Roboto-Thin-faee58a3.woff2") format("woff2");
}

:root {
  --jm-purple: var(--static-purple, #762778);
  --jm-pink: var(--static-pink, #c5487e);
  --jm-plum: #5c1a5f;
  --jm-magenta: #b5268f;
  --jm-ink: var(--ink, #111);
  --jm-muted: var(--muted, #555);
  --jm-line: #d9d4de;
  --jm-blue: #2f8cf0;
  --jm-ease: cubic-bezier(.2, .7, .2, 1);
  --jm-pop: cubic-bezier(.34, 1.56, .64, 1);
}

/* Off screen = paused. Reduced motion = no animation at all. */
[data-jm]:not([data-jm="reveal"]):not([data-jm="video"]):not(.jm-on),
[data-jm]:not([data-jm="reveal"]):not([data-jm="video"]):not(.jm-on) *,
[data-jm]:not([data-jm="reveal"]):not([data-jm="video"]):not(.jm-on) *::before,
[data-jm]:not([data-jm="reveal"]):not([data-jm="video"]):not(.jm-on) *::after {
  animation-play-state: paused !important;
}
.jm-still, .jm-still *, .jm-still *::before, .jm-still *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  [data-jm] *, [data-jm] *::before, [data-jm] *::after { animation: none !important; transition: none !important; }
}

.jm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared typing caret */
.jm-caret {
  display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -.18em;
  background: currentColor; animation: jm-blink 1s steps(1) infinite;
}
@keyframes jm-blink { 50% { opacity: 0; } }

/* Shared "thinking" dots */
.jm-dots { display: inline-flex; gap: .28em; align-items: center; }
.jm-dots i { width: .38em; height: .38em; border-radius: 50%; background: currentColor; opacity: .35; animation: jm-dot 1.2s infinite var(--jm-ease); }
.jm-dots i:nth-child(2) { animation-delay: .15s; }
.jm-dots i:nth-child(3) { animation-delay: .3s; }
.jm-dots i:nth-child(4) { animation-delay: .45s; }
@keyframes jm-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-35%); } }

/* Scroll reveal (optional, used on section content) */
/* Text and cards drift in from the left and fade up, as in the Canva site */
.jm-reveal-ready [data-jm-reveal] {
  opacity: 0; transform: translateX(-32px);
  transition: opacity .8s var(--jm-ease) var(--d, 0ms), transform .8s var(--jm-ease) var(--d, 0ms);
}
.jm-reveal-ready [data-jm-reveal].is-in { opacity: 1; transform: none; }


/* ==========================================================================
   1. "Generating…" pill  (Home, next to "Log in, get 30 free prompts")
   ========================================================================== */
.jm-generating {
  position: relative; display: inline-flex; align-items: center; gap: .45em; overflow: hidden;
  padding: .42em .9em .42em .65em; border-radius: 8px; color: #fff; font-size: 15px; line-height: 1; white-space: nowrap;
  background: linear-gradient(90deg, #3d9ef5 0%, #7b55ee 52%, #b11bd5 100%);
  box-shadow: 0 0 0 4px rgba(176, 26, 214, .08), 0 6px 20px rgba(150, 40, 220, .35);
  vertical-align: middle;
}
.jm-generating::after { /* light sweep */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  animation: jm-sweep 2.6s var(--jm-ease) infinite;
}
.jm-generating svg { width: 1.55em; height: 1.55em; margin: -.2em 0; }
.jm-generating svg path { transform-box: fill-box; transform-origin: center; animation: jm-twinkle 1.8s var(--jm-ease) infinite; }
.jm-generating svg path:nth-child(2) { animation-delay: .3s; }
.jm-generating svg path:nth-child(3) { animation-delay: .6s; }
.jm-generating .jm-dots { gap: .12em; margin-left: -.2em; }
.jm-generating .jm-dots i { width: .2em; height: .2em; opacity: .6; }
@keyframes jm-sweep { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes jm-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7) rotate(15deg); opacity: .75; } }


/* ==========================================================================
   2. Prompt demo card  (Home, under "Log in, get 30 free prompts")
      Replaces prompt-preview.webp
   ========================================================================== */
.jm-prompt {
  border: 1.5px solid #c27dbf; border-radius: 18px; background: #f3f3f3; padding: 22px 22px 26px;
  font-size: 14px; color: #333;
}
.jm-prompt__intro { margin: 0 0 22px 14px; font-size: 18px; color: #111; }
.jm-prompt__box {
  position: relative; min-height: 104px; padding: 16px 16px 46px; border-radius: 10px; background: #fff;
  border: 1.5px solid #b98ad6; box-shadow: 0 0 0 4px rgba(185, 138, 214, .14);
  font-size: 15px; color: #222;
}
.jm-prompt__placeholder { color: #9a9a9a; }
.jm-prompt__text:not(:empty) ~ .jm-prompt__placeholder { display: none; }
.jm-prompt__tools { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 10px; color: #333; }
.jm-prompt__tools svg { width: 22px; height: 22px; display: block; }
.jm-send { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; transition: background .25s, color .25s; }
.jm-send::before { /* tooltip */
  content: "Send"; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px);
  padding: 3px 7px; border-radius: 4px; background: #333; color: #fff; font-size: 11px; opacity: 0; transition: .2s;
}
.jm-send::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(118, 39, 120, .45); }
.jm-prompt[data-phase="ready"] .jm-send,
.jm-prompt[data-phase="send"] .jm-send { background: var(--jm-purple); color: #fff; }
.jm-prompt[data-phase="ready"] .jm-send::before,
.jm-prompt[data-phase="send"] .jm-send::before { opacity: 1; transform: translate(-50%, 0); }
.jm-prompt[data-phase="send"] .jm-send::after { animation: jm-ripple .8s var(--jm-ease); }
.jm-prompt[data-phase="send"] .jm-prompt__text { opacity: 0; transform: translateY(-6px); transition: .35s var(--jm-ease); }
@keyframes jm-ripple { to { box-shadow: 0 0 0 12px rgba(118, 39, 120, 0); } }
.jm-prompt[data-phase="send"] .jm-caret, .jm-prompt[data-phase="ready"] .jm-caret { opacity: 0; }

.jm-prompt__label { margin: 24px 0 12px 14px; font-size: 13px; font-weight: 500; color: #222; }
.jm-prompt__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jm-prompt__chips p { margin: 0; padding: 12px 16px; border-radius: 8px; background: #fff; color: #888; font-size: 13px; line-height: 1.4; }
@media (max-width: 760px) { .jm-prompt__chips { grid-template-columns: 1fr; } .jm-prompt__chips p:nth-child(n+3) { display: none; } }


/* ==========================================================================
   3. Orb  (Home "Purpose built" section, and next to "12-month pricing")
      Replaces orb.webp.  Size with --size.
   ========================================================================== */
.jm-orb {
  --size: 76px;
  position: relative; display: inline-block; width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 50% 50%, #2a1d8f 0%, #170d57 55%, #0b0631 100%);
  box-shadow: inset 0 0 0 calc(var(--size) * .035) #3d4cf0, inset 0 0 calc(var(--size) * .18) rgba(64, 90, 255, .8), 0 0 calc(var(--size) * .12) rgba(70, 80, 255, .35);
}
.jm-orb i { position: absolute; inset: 16%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; mix-blend-mode: screen; filter: blur(calc(var(--size) * .02)); }
.jm-orb i:nth-child(1) { background: conic-gradient(from 0deg, transparent 0 15%, #a77bff 25%, #e1c6ff 32%, transparent 45% 60%, #6f8dff 72%, transparent 85%); animation: jm-orb-spin 7s linear infinite, jm-orb-morph 5s ease-in-out infinite alternate; }
.jm-orb i:nth-child(2) { inset: 22%; background: conic-gradient(from 120deg, transparent 0 20%, #7c5cff 30%, #c4a2ff 36%, transparent 50% 70%, #4f74ff 80%, transparent 92%); animation: jm-orb-spin 10s linear infinite reverse, jm-orb-morph 6.5s ease-in-out infinite alternate-reverse; }
.jm-orb i:nth-child(3) { inset: 34%; background: radial-gradient(circle, rgba(226, 205, 255, .9), rgba(140, 110, 255, 0) 70%); animation: jm-orb-breathe 3.2s ease-in-out infinite; }
@keyframes jm-orb-spin { to { transform: rotate(360deg); } }
@keyframes jm-orb-morph { to { border-radius: 58% 42% 40% 60% / 45% 60% 40% 55%; } }
@keyframes jm-orb-breathe { 50% { transform: scale(1.25); opacity: .6; } }


/* ==========================================================================
   4. Sources phone  (Home "Purpose built" section)  Replaces sources-phone.webp
   ========================================================================== */
.jm-device {
  position: relative; width: 280px; aspect-ratio: 9 / 17; padding: 9px; border-radius: 42px; background: #111;
  box-shadow: 0 30px 60px -20px rgba(40, 10, 60, .35);
}
.jm-device::before, .jm-device::after { /* side buttons */
  content: ""; position: absolute; width: 5px; border-radius: 3px; background: #111;
}
.jm-device::before { left: -4px; top: 18%; height: 9%; box-shadow: 0 calc(280px * .2) 0 #111; }
.jm-device::after { right: -4px; top: 24%; height: 12%; }
.jm-device__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }

.jm-sources { font-size: 10.5px; color: #333; background: #ececec; }
.jm-sources__url { padding: 10px 18px 6px; font-size: 9px; color: #333; background: #f7f7f7; }
.jm-sources__avatar { position: absolute; left: 14px; top: 34px; z-index: 3; width: 20px; height: 20px; border-radius: 50%; background: #48a9f0; }
.jm-sources__scroll { position: absolute; inset: 26px 0 0; transition: transform .9s var(--jm-ease); }
.jm-sources__chat { padding: 12px 14px 0 44px; }
.jm-sources__chat ul { margin: 0 0 12px; padding-left: 14px; color: #444; line-height: 1.75; font-size: 11.5px; }
.jm-sources__meta { display: flex; gap: 8px; align-items: center; color: #888; font-size: 8.5px; }
.jm-sources__meta svg { width: 11px; height: 11px; }
.jm-sources__head { display: flex; gap: 6px; align-items: center; margin: 10px 0 4px; font-weight: 600; font-size: 11px; }
.jm-src { position: relative; display: flex; gap: 6px; align-items: center; padding: 8px 0; border-bottom: 1px solid #ddd; white-space: nowrap; }
.jm-src b { flex: none; display: grid; place-items: center; width: 13px; height: 13px; border: 1px solid #b06fb1; border-radius: 3px; color: var(--jm-purple); font-weight: 400; font-size: 8px; }
.jm-src span { transition: color .2s; }
.jm-src::after { /* "Fetched at" tooltip */
  content: attr(data-fetched); position: absolute; left: 6px; bottom: calc(100% - 2px); z-index: 2;
  padding: 3px 7px; border-radius: 3px; background: #2d2d2d; color: #fff; font-size: 8px; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: .25s var(--jm-ease); pointer-events: none;
}
.jm-sources[data-phase="hover1"] .jm-src--1::after,
.jm-sources[data-phase="hover2"] .jm-src--2::after { opacity: 1; transform: none; }
.jm-sources[data-phase="hover1"] .jm-src--1 span,
.jm-sources[data-phase="hover2"] .jm-src--2 span { text-decoration: underline; color: #111; }
.jm-sources__ask { position: absolute; left: 44px; right: -20px; bottom: 34px; height: 62px; border: 1.5px solid #b98ad6; border-radius: 8px; background: #fff; padding: 8px 10px; color: #999; }
.jm-sources__ask svg { position: absolute; bottom: 8px; width: 14px; height: 14px; color: #333; }
.jm-pointer { /* fake mouse pointer */
  position: absolute; z-index: 4; width: 14px; height: 18px; left: 60%; top: 62%; opacity: 0;
  transition: left .8s var(--jm-ease), top .8s var(--jm-ease), opacity .3s;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3));
}
.jm-sources[data-phase="hover1"] .jm-pointer { opacity: 1; left: 46%; top: var(--src1-y, 47%); }
.jm-sources[data-phase="hover2"] .jm-pointer { opacity: 1; left: 52%; top: var(--src2-y, 52.5%); }
.jm-sources__doc { /* the opened source */
  position: absolute; inset: 26px 0 0; z-index: 2; padding: 26px 16px 0; overflow: hidden; background: #e9e9e9;
  transform: translateX(100%); transition: transform .8s var(--jm-ease);
}
.jm-sources__doc > div { animation: jm-doc-scroll 9s linear infinite paused; }
.jm-sources[data-phase="doc"] .jm-sources__doc { transform: none; }
.jm-sources[data-phase="doc"] .jm-sources__doc > div { animation-play-state: running; }
.jm-sources__doc h4 { margin: 12px 0 8px; font-family: inherit; font-weight: 400; font-size: 25px; line-height: 1.12; color: #333; }
.jm-sources__doc p { margin: 0 0 10px; font-size: 10.5px; line-height: 1.5; color: #555; }
@keyframes jm-doc-scroll { from { transform: translateY(0); } to { transform: translateY(-55%); } }


/* ==========================================================================
   5. Persona card  (Home "Josi vs LLMs", right)  Replaces audit-preview.webp
   ========================================================================== */
.jm-persona-frame { padding: 12px; border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 12px; background: rgba(255, 255, 255, .35); }
.jm-persona { overflow: hidden; border: 1.5px solid #e1c8e4; border-radius: 6px; background: #fff; text-align: center; }
.jm-texture { height: 46px; border-bottom: 1.5px solid #c27dbf; background: url("/assets/landing_static/josi-texture-4aa795a7.webp") center / cover; }
.jm-persona__body { padding: 20px 6px 18px; }
.jm-persona__who { position: relative; height: 92px; }
.jm-persona__role { position: absolute; inset: 0; display: grid; justify-items: center; align-content: start; gap: 8px; opacity: 0; transform: translateY(8px) scale(.96); transition: .5s var(--jm-ease); }
.jm-persona__role svg.jm-avatar { width: 56px; height: 56px; }
.jm-persona__role strong { display: inline-flex; gap: 8px; align-items: center; color: var(--jm-purple); font-size: 22px; font-weight: 500; }
.jm-persona[data-phase="a"] .jm-persona__role:nth-child(1),
.jm-persona[data-phase="b"] .jm-persona__role:nth-child(2) { opacity: 1; transform: none; }
.jm-spinner { width: 20px; height: 20px; animation: jm-spin 1.1s steps(8) infinite; }
@keyframes jm-spin { to { transform: rotate(360deg); } }
.jm-persona__ask {
  display: flex; align-items: center; gap: 14px; height: 70px; margin: 14px 0 18px; padding: 0 22px;
  border: 3px solid var(--jm-purple); border-radius: 40px; font-size: 20px; color: #111; text-align: left;
}
.jm-persona__ask > svg { flex: none; width: 30px; height: 30px; color: var(--jm-purple); }
.jm-persona__ask > hr { flex: none; width: 3px; height: 70%; margin: 0; border: 0; background: var(--jm-purple); }
.jm-persona__ask .jm-caret { width: 2px; }
.jm-persona__dots { display: flex; justify-content: center; gap: 10px; color: #333; }
.jm-persona__dots i { width: 15px; height: 15px; border-radius: 50%; background: currentColor; animation: jm-dot 1.6s infinite var(--jm-ease); }
.jm-persona__dots i:nth-child(2) { animation-delay: .2s; } .jm-persona__dots i:nth-child(3) { animation-delay: .4s; } .jm-persona__dots i:nth-child(4) { animation-delay: .6s; }


/* ==========================================================================
   6. Testimonial quote stack  (Home)  rotates every few seconds
   ========================================================================== */
.jm-quotes { position: relative; padding: 18px; border-radius: 22px; background: #f6f6f7; }
.jm-quotes__stack { position: relative; height: 280px; }
.jm-quote {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 20px 22px; min-height: 196px;
  border: 2px solid #333; border-radius: 26px; background: #fff; font-size: 16px; line-height: 1.5; color: #333;
  transform-origin: 50% 0; transition: transform .7s var(--jm-ease), opacity .7s var(--jm-ease), box-shadow .7s;
}
.jm-quote footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ccc; font-size: 14px; }
.jm-quote footer strong { display: block; font-weight: 500; color: #111; }
.jm-quote[data-pos="0"] { z-index: 3; transform: none; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); }
.jm-quote[data-pos="1"] { z-index: 2; transform: translateY(-44px) scale(.97); }
.jm-quote[data-pos="2"] { z-index: 1; transform: translateY(-86px) scale(.92); }
.jm-quote:not([data-pos="0"]) > * { opacity: .85; }
.jm-quote:not([data-pos="0"]) footer { visibility: hidden; }
.jm-quotes__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.jm-quotes__dots i { width: 7px; height: 7px; border-radius: 50%; background: #ccc; transition: background .3s, width .3s; }
.jm-quotes__dots i.is-active { width: 18px; border-radius: 4px; background: var(--jm-purple); }


/* ==========================================================================
   7. Video frames (Home hero card + testimonial)
   ========================================================================== */
.jm-video { position: relative; overflow: hidden; border-radius: 10px; }
.jm-video video { display: block; width: 100%; height: auto; }
.jm-video--hero { border: 1.5px solid #c27dbf; border-radius: 6px; box-shadow: 0 20px 50px -24px rgba(118, 39, 120, .45); }
.jm-video--testimonial { padding: 18px; border: 1.5px solid #f0b8d8; border-radius: 12px; background: #fff; }
.jm-video--testimonial video { border: 1px solid #ccc; border-radius: 8px; }
.jm-sound {
  position: absolute; right: 30px; bottom: 30px; display: inline-flex; gap: 6px; align-items: center;
  padding: 7px 12px; border: 0; border-radius: 99px; background: rgba(17, 17, 17, .72); color: #fff; font-family: inherit; font-weight: 500; font-size: 13px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px);
}
.jm-sound svg { width: 16px; height: 16px; }
.jm-video.is-unmuted .jm-sound { display: none; }


/* ==========================================================================
   8. Product hero phone chat  (rebuilt from the Canva video, 12.2s loop)
      The phone is drawn at the video's own size, 371 wide, and scaled with
      --phone-w: --pu is one video pixel. The frosted card behind it is the
      design's own artwork (product-phone-backdrop.webp).
   ========================================================================== */
.jm-chat-stage {
  --s: 1px; --phone-w: calc(270.6 * var(--s)); --pu: calc(var(--phone-w) / 371);
  position: relative; display: block; overflow: hidden; width: calc(370 * var(--s)); height: calc(613 * var(--s)); margin-inline: auto; border-radius: calc(28 * var(--s));
  background: #eceef3 url("/assets/landing_static/product-phone-backdrop-488f6cee.webp") center / cover no-repeat;
}
.jm-phone {
  position: absolute; left: calc(50 * var(--s)); top: calc(31 * var(--s)); width: var(--phone-w); aspect-ratio: 371 / 751; border-radius: calc(58 * var(--pu));
  background: linear-gradient(180deg, #8d8d8d 0, #474747 calc(9 * var(--pu)), #2c2c2c calc(16 * var(--pu)), #2b2b2b calc(100% - 16 * var(--pu)), #3c3c3c 100%);
  box-shadow: inset calc(3 * var(--pu)) 0 0 #4c4c4c, inset calc(-3 * var(--pu)) 0 0 #4c4c4c, 0 calc(10 * var(--pu)) calc(24 * var(--pu)) calc(-10 * var(--pu)) rgba(0, 0, 0, .35);
}
.jm-phone::before { /* black bezel */
  content: ""; position: absolute; inset: calc(9 * var(--pu)) calc(15 * var(--pu)) calc(13 * var(--pu)); border-radius: calc(46 * var(--pu)); background: #161616;
}
.jm-phone::after { /* side buttons */
  content: ""; position: absolute; left: calc(-4 * var(--pu)); top: calc(118 * var(--pu)); width: calc(5 * var(--pu)); height: calc(34 * var(--pu)); border-radius: calc(2 * var(--pu)) 0 0 calc(2 * var(--pu)); background: #2c2c2c;
  box-shadow: 0 calc(66 * var(--pu)) 0 #2c2c2c, 0 calc(66 * var(--pu)) 0 0 #2c2c2c, 0 calc(140 * var(--pu)) 0 #2c2c2c, calc(374 * var(--pu)) calc(100 * var(--pu)) 0 #2c2c2c;
}
.jm-phone__screen {
  position: absolute; inset: calc(22 * var(--pu)) calc(23 * var(--pu)) calc(26 * var(--pu)) calc(24 * var(--pu)); overflow: hidden;
  border-radius: calc(32 * var(--pu)); background: #fff; color: #1a1a1a; font: 400 calc(17.7 * var(--pu)) / calc(21.5 * var(--pu)) Roboto, sans-serif; letter-spacing: 0;
}
.jm-phone__notch {
  position: absolute; top: 0; left: calc(71 * var(--pu)); width: calc(181 * var(--pu)); height: calc(24 * var(--pu)); z-index: 2;
  border-radius: 0 0 calc(15 * var(--pu)) calc(15 * var(--pu)); background: #161616;
}
.jm-phone__notch i { position: absolute; left: calc(67 * var(--pu)); top: calc(6 * var(--pu)); width: calc(40 * var(--pu)); height: calc(4 * var(--pu)); border-radius: 9px; background: #3b3b3b; }
.jm-phone__notch b { position: absolute; left: calc(125 * var(--pu)); top: calc(3 * var(--pu)); width: calc(11 * var(--pu)); height: calc(11 * var(--pu)); border-radius: 50%; background: radial-gradient(circle, #33405a 30%, #2a2a2a 45%, #4a4a4a 70%); }

.jm-chat__title { position: absolute; left: 0; right: 0; top: calc(57 * var(--pu)); margin: 0; text-align: center; color: #ae1b76; font: 400 calc(54 * var(--pu)) / 1 Roboto, sans-serif; }
.jm-chat__josi {
  position: absolute; left: calc(26 * var(--pu)); top: calc(169 * var(--pu)); width: calc(240 * var(--pu)); height: calc(108 * var(--pu));
  border: calc(2 * var(--pu)) solid #5e2556; border-radius: calc(15 * var(--pu)); background: #fff;
}
.jm-chat__tag {
  position: absolute; left: calc(14 * var(--pu)); top: calc(-17 * var(--pu)); padding: 0 calc(11 * var(--pu)); height: calc(29 * var(--pu));
  border-radius: calc(15 * var(--pu)); background: #b02782; color: #fff; font: 500 calc(17 * var(--pu)) / calc(29 * var(--pu)) 'Roboto Medium', Roboto, sans-serif;
}
.jm-chat__tag--client { left: calc(18 * var(--pu)); top: calc(-16 * var(--pu)); height: calc(27 * var(--pu)); padding: 0 calc(9 * var(--pu)); background: #000; font-size: calc(15.6 * var(--pu)); line-height: calc(27 * var(--pu)); }
.jm-chat__intro { position: absolute; left: calc(25 * var(--pu)); right: calc(8 * var(--pu)); top: calc(30 * var(--pu)); margin: 0; }
.jm-chat__answer { position: absolute; left: calc(20 * var(--pu)); right: calc(14 * var(--pu)); top: calc(59 * var(--pu)); margin: 0; line-height: calc(21.3 * var(--pu)); }
.jm-chat__dots { position: absolute; left: calc(21 * var(--pu)); top: calc(26 * var(--pu)); display: flex; gap: calc(12.5 * var(--pu)); opacity: 0; }
.jm-chat__dots i { width: calc(10.5 * var(--pu)); height: calc(10.5 * var(--pu)); border-radius: 50%; background: #2a2a2a; animation: jm-chat-dot 1.2s infinite ease-in-out; }
.jm-chat__dots i:nth-child(2) { animation-delay: .15s; } .jm-chat__dots i:nth-child(3) { animation-delay: .3s; } .jm-chat__dots i:nth-child(4) { animation-delay: .45s; }
@keyframes jm-chat-dot { 0%, 50%, 100% { transform: none; } 25% { transform: translateY(calc(-4 * var(--pu))); } }
.jm-chat__ask {
  position: absolute; left: calc(53 * var(--pu)); top: calc(331 * var(--pu)); width: calc(243 * var(--pu)); height: calc(151 * var(--pu)); box-sizing: border-box;
  padding: calc(33 * var(--pu)) calc(20 * var(--pu)) 0 calc(32 * var(--pu)); border-radius: calc(17 * var(--pu)); background: #a81b77; color: #fff;
}
.jm-chat__thanks {
  position: absolute; left: calc(53 * var(--pu)); top: calc(439 * var(--pu)); width: calc(200 * var(--pu)); height: calc(73 * var(--pu)); box-sizing: border-box;
  display: flex; align-items: center; padding-left: calc(30 * var(--pu)); border-radius: calc(17 * var(--pu)); background: #a81b77; color: #fff;
}
.jm-chat__thanks svg { position: absolute; left: calc(148 * var(--pu)); top: calc(21 * var(--pu)); width: calc(28 * var(--pu)); height: calc(31 * var(--pu)); }
.jm-chat__cites { position: absolute; left: calc(28 * var(--pu)); top: calc(563 * var(--pu)); width: calc(290 * var(--pu)); height: calc(52 * var(--pu)); margin: 0; font-size: calc(13.9 * var(--pu)); line-height: calc(18 * var(--pu)); color: #4fb4df; }
.jm-chat__cites span { position: absolute; top: 0; left: 0; white-space: nowrap; }
.jm-chat__cites span:nth-child(2) { left: calc(127 * var(--pu)); }
.jm-chat__cites span:nth-child(3) { top: calc(31 * var(--pu)); color: #45a849; }

/* Canva-style wipes: pieces are revealed (and later erased) left to right */
.jm-chat__title, .jm-chat__josi, .jm-chat__intro, .jm-chat__answer, .jm-chat__ask, .jm-chat__thanks, .jm-chat__cites {
  clip-path: inset(-20px 100% -20px 0); transition: clip-path .5s var(--jm-ease), opacity .4s;
}
.jm-chat__title { clip-path: none; opacity: 0; }
.jm-chat:not([data-phase="blank"]) .jm-chat__title { opacity: 1; }
.jm-chat:is([data-phase="intro"], [data-phase="ask"], [data-phase="answer"], [data-phase="thanks"], [data-phase="cites"], [data-phase="fade"], [data-phase="empty"]) .jm-chat__josi,
.jm-chat:is([data-phase="intro"], [data-phase="ask"]) .jm-chat__intro,
.jm-chat[data-phase="ask"] .jm-chat__ask,
.jm-chat:is([data-phase="answer"], [data-phase="thanks"], [data-phase="cites"]) .jm-chat__answer,
.jm-chat:is([data-phase="thanks"], [data-phase="cites"], [data-phase="fade"]) .jm-chat__thanks,
.jm-chat:is([data-phase="cites"], [data-phase="fade"]) .jm-chat__cites { clip-path: inset(-20px -20px -20px -20px); }
/* erasing: the clip closes from the left */
.jm-chat[data-phase="clear"] :is(.jm-chat__josi, .jm-chat__intro, .jm-chat__ask),
.jm-chat[data-phase="fade"] .jm-chat__answer { clip-path: inset(-20px 0 -20px 100%); }
.jm-chat[data-phase="clear"] :is(.jm-chat__josi, .jm-chat__intro) { transition-delay: .2s; }
.jm-chat[data-phase="empty"] :is(.jm-chat__thanks, .jm-chat__cites) { clip-path: inset(-20px 0 -20px 100%); transition-duration: .3s; }
.jm-chat:is([data-phase="answer"], [data-phase="thanks"], [data-phase="cites"], [data-phase="fade"], [data-phase="empty"]) .jm-chat__josi { width: calc(245 * var(--pu)); height: calc(222 * var(--pu)); }
.jm-chat:is([data-phase="answer"], [data-phase="thanks"], [data-phase="cites"], [data-phase="fade"]) .jm-chat__dots { opacity: 1; }
.jm-chat .jm-chat__intro, .jm-chat .jm-chat__answer { transition-duration: .55s; }
.jm-chat.jm-still .jm-chat__title { opacity: 1; }
.landing-static .jm-chat p { font-weight: 400; letter-spacing: 0; }


/* ==========================================================================
   9. Composer "Thinking…"  (Product "Purpose-built" section)
      Rebuilt from the Canva video (10s loop): a composer opens, a prompt is
      typed, Josi thinks, then the card bursts into sparkles. --cu is one px
      of the design (1366 canvas).
   ========================================================================== */
.jm-composer-frame { --cu: 1px; display: block; width: calc(402 * var(--cu)); height: calc(217 * var(--cu)); padding: calc(41 * var(--cu)) 0 0 calc(18 * var(--cu)); box-sizing: border-box; border: 1.5px dashed #6f6f6f; border-radius: calc(26 * var(--cu)); }
.landing-static .jm-composer-frame.static-library-art { width: calc(402 * var(--cu)); max-width: none; }
.jm-composer { position: relative; width: calc(362 * var(--cu)); height: calc(138 * var(--cu)); overflow: hidden; border-radius: calc(24 * var(--cu)); background: #000; }
.jm-cmp__card {
  position: absolute; left: calc(26 * var(--cu)); top: calc(11 * var(--cu)); width: calc(310 * var(--cu)); height: calc(70.5 * var(--cu)); overflow: hidden;
  border-radius: calc(14 * var(--cu)); background: #fff; color: #3c3946; font-size: calc(13 * var(--cu));
  transform-origin: 50% 60%; transition: height .45s var(--jm-ease), transform .45s var(--jm-ease), opacity .3s, width .45s var(--jm-ease), left .45s var(--jm-ease), top .45s var(--jm-ease), border-radius .45s;
}
.jm-cmp__think {
  position: absolute; left: calc(3 * var(--cu)); right: calc(3 * var(--cu)); top: calc(4 * var(--cu)); height: calc(33 * var(--cu)); overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; padding: 0 calc(6 * var(--cu)) 0 calc(8 * var(--cu));
  border-radius: calc(6 * var(--cu)); background: #aca8b6; color: #fff; opacity: 0; transform: translateY(calc(-8 * var(--cu))); transition: opacity .4s, transform .45s var(--jm-ease);
}
.jm-cmp__think::before { /* progress */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: #c7c3cd;
}
.jm-cmp__think span { position: relative; display: inline-flex; gap: calc(8 * var(--cu)); align-items: center; }
.jm-cmp__think svg { width: calc(17 * var(--cu)); height: calc(17 * var(--cu)); }
.jm-cmp__think em { position: relative; padding: 0 calc(6 * var(--cu)); border-radius: calc(4 * var(--cu)); background: #fff; color: #222; font-style: normal; font-size: calc(11 * var(--cu)); line-height: calc(18 * var(--cu)); }
.jm-cmp__bars { position: absolute; left: calc(14 * var(--cu)); top: calc(14 * var(--cu)); display: flex; gap: calc(6 * var(--cu)); transition: top .45s var(--jm-ease); }
.jm-cmp__bars i { height: calc(10.8 * var(--cu)); border-radius: 99px; background: #aeaab7; opacity: 0; transform: scaleX(.2); transform-origin: left; transition: opacity .25s, transform .35s var(--jm-ease); }
.jm-cmp__bars i:nth-child(1) { width: calc(66 * var(--cu)); } .jm-cmp__bars i:nth-child(2) { width: calc(43 * var(--cu)); }
.jm-cmp__bars i:nth-child(3) { width: calc(84 * var(--cu)); } .jm-cmp__bars i:nth-child(4) { width: calc(30 * var(--cu)); }
.jm-cmp__tools { position: absolute; left: 0; right: 0; top: calc(53.5 * var(--cu)); height: 0; color: #3c3946; opacity: 0; transition: top .45s var(--jm-ease), opacity .3s; }
.jm-cmp__tools svg { position: absolute; top: calc(-6 * var(--cu)); width: calc(12 * var(--cu)); height: calc(12 * var(--cu)); }
.jm-cmp__tools svg:nth-child(1) { left: calc(12 * var(--cu)); } .jm-cmp__tools svg:nth-child(2) { left: calc(39 * var(--cu)); }
.jm-cmp__tools svg:nth-child(3) { left: calc(66 * var(--cu)); } .jm-cmp__tools svg:nth-child(4) { left: calc(95 * var(--cu)); }
.jm-cmp__send { position: absolute; right: calc(5.5 * var(--cu)); top: calc(-12.5 * var(--cu)); display: grid; place-items: center; width: calc(25 * var(--cu)); height: calc(25 * var(--cu)); border-radius: 50%; background: #3d3a45; color: #fff; }
.jm-cmp__send svg { position: static; width: calc(13 * var(--cu)); height: calc(13 * var(--cu)); }
.jm-cmp__send .is-stop { display: none; width: calc(10 * var(--cu)); height: calc(10 * var(--cu)); }
.jm-cmp__sparkles { position: absolute; inset: 0; color: #fff; pointer-events: none; }
.jm-cmp__sparkles svg { position: absolute; width: calc(var(--s) * var(--cu)); height: calc(var(--s) * var(--cu)); left: calc(var(--x) * var(--cu)); top: calc(var(--y) * var(--cu)); opacity: 0; transform: scale(.3); }

/* phases: off -> boot -> open -> t1..t4 (typing) -> thinking -> burst -> gone */
.jm-composer[data-phase="off"] .jm-cmp__card, .jm-composer[data-phase="gone"] .jm-cmp__card { opacity: 0; transform: scale(.6); }
.jm-composer[data-phase="boot"] .jm-cmp__card { left: calc(67 * var(--cu)); top: calc(21 * var(--cu)); width: calc(227 * var(--cu)); height: calc(50 * var(--cu)); border-radius: calc(10 * var(--cu)); transform: rotate(-2deg); }
.jm-composer:is([data-phase="open"], [data-phase^="t"], [data-phase="thinking"]) .jm-cmp__tools { opacity: 1; }
.jm-composer:is([data-phase="t1"], [data-phase="t2"], [data-phase="t3"], [data-phase="t4"], [data-phase="thinking"]) .jm-cmp__bars i:nth-child(1),
.jm-composer:is([data-phase="t2"], [data-phase="t3"], [data-phase="t4"], [data-phase="thinking"]) .jm-cmp__bars i:nth-child(2),
.jm-composer:is([data-phase="t3"], [data-phase="t4"], [data-phase="thinking"]) .jm-cmp__bars i:nth-child(3),
.jm-composer:is([data-phase="t4"], [data-phase="thinking"]) .jm-cmp__bars i:nth-child(4) { opacity: 1; transform: none; }
.jm-composer[data-phase="thinking"] .jm-cmp__card { height: calc(105 * var(--cu)); }
.jm-composer[data-phase="thinking"] .jm-cmp__bars { top: calc(50 * var(--cu)); }
.jm-composer[data-phase="thinking"] .jm-cmp__tools { top: calc(87.5 * var(--cu)); }
.jm-composer[data-phase="thinking"] .jm-cmp__think { opacity: 1; transform: none; }
.jm-composer[data-phase="thinking"] .jm-cmp__think::before { animation: jm-cmp-progress 3.9s linear forwards; }
.jm-composer[data-phase="thinking"] .jm-cmp__send .is-up { display: none; }
.jm-composer[data-phase="thinking"] .jm-cmp__send .is-stop { display: block; }
.jm-composer[data-phase="burst"] .jm-cmp__card { opacity: 0; transform: scale(.4); transition-duration: .25s; }
.jm-composer[data-phase="burst"] .jm-cmp__sparkles svg { animation: jm-cmp-burst 1s var(--jm-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes jm-cmp-progress { 0% { width: 0; } 85% { width: 60%; } 86% { width: 100%; } 100% { width: 100%; } }
@keyframes jm-cmp-burst { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1); } 60% { opacity: .5; transform: translate(calc(var(--dx) * var(--cu)), calc(var(--dy) * var(--cu))) scale(.45); } 100% { opacity: 0; transform: translate(calc(var(--dx) * 1.4 * var(--cu)), calc(var(--dy) * 1.4 * var(--cu))) scale(.3); } }
.jm-composer.jm-still .jm-cmp__card { opacity: 1; transform: none; }


/* ==========================================================================
   10. Barcode -> chip -> document  (Product pricing teaser, above the card)
   ========================================================================== */
.jm-pipeline { display: block; width: 100%; max-width: 420px; height: auto; color: #4a4a4a; }
.jm-pipeline .jm-flow { stroke-dasharray: 0 14; stroke-linecap: round; animation: jm-flow 1.2s linear infinite; }
@keyframes jm-flow { to { stroke-dashoffset: -14; } }
.jm-pipeline .jm-chip-core { transform-box: fill-box; transform-origin: center; animation: jm-chip 3s var(--jm-ease) infinite; }
@keyframes jm-chip { 0%, 100% { transform: rotate(0) scale(1); } 40% { transform: rotate(45deg) scale(1.08); } 60% { transform: rotate(45deg) scale(1); } }
.jm-pipeline .jm-doc-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: jm-write 3s var(--jm-ease) infinite; }
.jm-pipeline .jm-doc-line:nth-of-type(2) { animation-delay: .25s; } .jm-pipeline .jm-doc-line:nth-of-type(3) { animation-delay: .5s; } .jm-pipeline .jm-doc-line:nth-of-type(4) { animation-delay: .75s; }
@keyframes jm-write { 0%, 25% { stroke-dashoffset: 60; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.jm-pipeline .jm-scan { animation: jm-scan 3s var(--jm-ease) infinite; }
@keyframes jm-scan { 0%, 100% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 45% { transform: translateY(96px); opacity: .9; } 55% { opacity: 0; } }


/* ==========================================================================
   11. Unlock click  (Pricing "Select your plan" card)
   ========================================================================== */
/* Rebuilt from the Canva video (6s loop): the lock closes, a hand taps it,
   a ripple, and it springs open. --k is one design px. */
.jm-unlock { --k: 1px; position: relative; display: inline-block; width: calc(57 * var(--k)); height: calc(62 * var(--k)); }
.jm-unlock__tile { position: absolute; inset: 0; border-radius: calc(3 * var(--k)); background: #fafafa; box-shadow: 0 calc(1 * var(--k)) calc(3 * var(--k)) rgba(0, 0, 0, .08); display: grid; place-items: center; color: #262d36; }
.jm-unlock__tile svg { width: calc(46 * var(--k)); height: calc(46 * var(--k)); margin-top: calc(-8 * var(--k)); }
.jm-unlock__badge { position: absolute; left: calc(37 * var(--k)); top: calc(40 * var(--k)); display: grid; place-items: center; width: calc(26 * var(--k)); height: calc(26 * var(--k)); border-radius: 50%; background: #1d8cf0; color: #fff; animation: jm-badge 6s var(--jm-ease) infinite; }
.jm-unlock__badge svg { width: calc(16.5 * var(--k)); height: calc(16.5 * var(--k)); overflow: visible; }
.jm-unlock__shackle { transform-box: fill-box; transform-origin: 85% 100%; animation: jm-shackle 6s var(--jm-ease) infinite; }
/* The pointer's fingertip sits on the lock. The 6s loop follows Canva: the
   lock shuts, the hand slides in from the lower right, taps (badge dips,
   ripple), the shackle springs open, and the hand slides back out. */
.jm-unlock .jm-unlock__hand { position: absolute; left: calc(39.6 * var(--k)); top: calc(53.4 * var(--k)); width: calc(38.6 * var(--k)); height: calc(36.6 * var(--k)); overflow: visible; opacity: 0; transform-origin: 26.3% 4.2%; animation: jm-tap 6s ease-in-out infinite; }
@keyframes jm-tap {
  0%, 38% { transform: translate(calc(24 * var(--k)), calc(28 * var(--k))); opacity: 0; }
  42% { opacity: 1; }
  47% { transform: none; opacity: 1; }
  50% { transform: scale(.9); }
  53%, 86% { transform: none; opacity: 1; }
  92% { opacity: 1; }
  96%, 100% { transform: translate(calc(24 * var(--k)), calc(28 * var(--k))); opacity: 0; }
}
@keyframes jm-badge { 0%, 49% { box-shadow: 0 0 0 0 rgba(29, 140, 240, .45); transform: none; } 51% { transform: scale(.8); box-shadow: 0 0 0 calc(2 * var(--k)) rgba(29, 140, 240, .4); } 55% { transform: none; box-shadow: 0 0 0 calc(7 * var(--k)) rgba(29, 140, 240, .25); } 62%, 100% { box-shadow: 0 0 0 calc(10 * var(--k)) rgba(29, 140, 240, 0); transform: none; } }
@keyframes jm-shackle { 0%, 14% { transform: translateY(-2px) rotate(-28deg); } 19%, 55% { transform: none; } 60%, 100% { transform: translateY(-2px) rotate(-28deg); } }


/* ==========================================================================
   12. Twinkling sparkles  (Pricing card bottom, and anywhere else)
   ========================================================================== */
.jm-twinkle { display: inline-block; width: 40px; height: 50px; overflow: visible; }
.jm-twinkle path, .jm-twinkle circle { transform-box: fill-box; transform-origin: center; }
/* Measured from the Canva clip: a 1s loop. Rotation and size run as separate
   animations (the individual rotate and scale properties), so the turn keeps
   flowing through the biggest point instead of pausing there. Each star turns
   90deg clockwise per loop, easing in and out; a four-point star looks the
   same after a quarter turn, so the loop is seamless. */
.jm-twinkle path { animation: jm-tw-turn 1s cubic-bezier(.37, 0, .63, 1) infinite, var(--tw-size) 1s linear infinite; }
.jm-twinkle .jm-tw-a { --tw-size: jm-tw-a; }
.jm-twinkle .jm-tw-b { --tw-size: jm-tw-b; }
.jm-twinkle .jm-tw-c { --tw-size: jm-tw-c; }
.jm-twinkle .jm-tw-d { --tw-size: jm-tw-d; }
@keyframes jm-tw-turn { from { rotate: 0deg; } to { rotate: 90deg; } }
/* Top purple star: .54 to full by 30%, holds, then eases back down. */
@keyframes jm-tw-a {
  0% { scale: .54; animation-timing-function: ease-in-out; }
  30% { scale: 1; animation-timing-function: linear; }
  53% { scale: .98; animation-timing-function: cubic-bezier(0, 0, .58, 1); }
  100% { scale: .54; }
}
/* Bottom purple star and the tiny pink one grow more and peak later. */
@keyframes jm-tw-b {
  0% { scale: .41; animation-timing-function: ease-in-out; }
  45% { scale: 1; animation-timing-function: linear; }
  53% { scale: 1; animation-timing-function: cubic-bezier(.33, .1, .6, 1); }
  100% { scale: .41; }
}
@keyframes jm-tw-d {
  0% { scale: .28; animation-timing-function: ease-in-out; }
  45% { scale: 1; animation-timing-function: linear; }
  53% { scale: .96; animation-timing-function: cubic-bezier(.33, .1, .6, 1); }
  100% { scale: .28; }
}
/* Middle pink star does the opposite: biggest at the loop point. */
@keyframes jm-tw-c {
  0%, 8% { scale: 1; animation-timing-function: ease-in-out; }
  53% { scale: .29; animation-timing-function: ease-in-out; }
  92%, 100% { scale: 1; }
}


/* ==========================================================================
   13. Network: team -> Josi chip  (Pricing "Everything's included")
       Replaces network-illustration.webp
   ========================================================================== */
.jm-network { display: block; width: 100%; max-width: 500px; height: auto; overflow: visible; color: #333; }
/* Timed to the Canva clip: wires grow out of the chip (0-1.1s), people pop in
   inner pair first (disc, then face), each asks once and the bubble stays,
   and answers stream out to everyone along the wires for as long as it runs. */
.jm-network .jm-wire { stroke-dasharray: 1; stroke-dashoffset: 1; }
.jm-on .jm-network .jm-wire, .jm-network.jm-on .jm-wire { animation: jm-draw 1.25s cubic-bezier(.45, 0, .4, 1) forwards; }
.jm-network .jm-node, .jm-network .jm-flow, .jm-network .jm-person__disc, .jm-network .jm-person__face, .jm-network .jm-ask, .jm-network .jm-ask__q { opacity: 0; }
.jm-network .jm-person__disc, .jm-network .jm-person__face { transform-box: fill-box; transform-origin: center; }
.jm-network .jm-ask { transform-box: fill-box; transform-origin: 8% 100%; }
.jm-on .jm-network .jm-node, .jm-network.jm-on .jm-node { animation: jm-fade .25s 1s forwards; }
.jm-on .jm-network .jm-flow, .jm-network.jm-on .jm-flow { animation: jm-fade .3s 1.1s forwards; }
.jm-on .jm-network .jm-person__disc, .jm-network.jm-on .jm-person__disc { animation: jm-net-pop .45s var(--d) cubic-bezier(.3, 1.4, .5, 1) forwards; }
.jm-on .jm-network .jm-person__face, .jm-network.jm-on .jm-person__face { animation: jm-net-pop .45s calc(var(--d) + .2s) cubic-bezier(.3, 1.4, .5, 1) forwards; }
.jm-on .jm-network .jm-ask, .jm-network.jm-on .jm-ask { animation: jm-net-ask .6s var(--d) ease-out forwards; }
.jm-on .jm-network .jm-ask__q, .jm-network.jm-on .jm-ask__q { animation: jm-fade .3s calc(var(--d) + .4s) forwards; }
@keyframes jm-draw { to { stroke-dashoffset: 0; } }
@keyframes jm-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes jm-fade { to { opacity: 1; } }
@keyframes jm-net-pop { from { opacity: 0; transform: scale(.3); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes jm-net-ask { 0% { opacity: 0; transform: rotate(-12deg) scale(.4); } 45% { opacity: 1; transform: rotate(-8deg) scale(1.03); } 100% { opacity: 1; transform: none; } }
.jm-still .jm-network .jm-wire { stroke-dashoffset: 0; }
.jm-still .jm-network :is(.jm-node, .jm-person__disc, .jm-person__face, .jm-ask, .jm-ask__q) { opacity: 1; }


/* ==========================================================================
   14. Mail icon with notification dot  (contact pills)
   ========================================================================== */
.jm-mail { position: relative; display: inline-block; width: 46px; height: 34px; color: #111; }
.jm-mail svg { width: 100%; height: 100%; display: block; transform-origin: 50% 100%; animation: jm-wiggle 4s var(--jm-ease) infinite; }
.jm-mail b { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #e0121d; color: #fff; font-family: inherit; font-weight: 700; font-size: 9px; line-height: 1; animation: jm-badge-pop 4s var(--jm-pop) infinite; }
.jm-mail b::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: jm-ping 4s var(--jm-ease) infinite; }
@keyframes jm-wiggle { 0%, 70%, 100% { transform: none; } 74% { transform: rotate(-8deg); } 78% { transform: rotate(7deg); } 82% { transform: rotate(-4deg); } 86% { transform: none; } }
@keyframes jm-badge-pop { 0%, 8% { transform: scale(0); } 16%, 100% { transform: scale(1); } }
@keyframes jm-ping { 0%, 16% { box-shadow: 0 0 0 0 rgba(224, 18, 29, .5); } 40%, 100% { box-shadow: 0 0 0 10px rgba(224, 18, 29, 0); } }

.jm-still .jm-caret { display: none; }

/* 3b. Sparkle badge  (Pricing, next to "12-month pricing by firm size")
       Dark disc, magenta-to-cyan ring, three sparkles that twinkle in turn. */
.jm-badge-orb { --size: 58px; position: relative; display: inline-block; width: var(--size); height: var(--size); }
.jm-badge-orb > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.jm-badge-orb__body { transform-box: fill-box; transform-origin: center; }
/* Timed from the Canva clip (9s loop). Size is relative to the resting orb. */
.jm-on .jm-badge-orb__body, .jm-badge-orb.jm-on .jm-badge-orb__body { animation: jm-orb-size 9s linear infinite; }
.jm-on .jm-badge-orb__ring, .jm-badge-orb.jm-on .jm-badge-orb__ring { animation: jm-orb-ring 9s linear infinite; }
@keyframes jm-orb-size {
  /* springs in from nothing, overshooting to 1.14 */
  0% { scale: 0; } 2.2% { scale: .1; } 3.7% { scale: .26; } 5.2% { scale: .46; } 6.7% { scale: .67; }
  8.1% { scale: .86; } 9.6% { scale: 1.03; } 11.1% { scale: 1.12; } 11.9% { scale: 1.137; } 13.3% { scale: 1.114; }
  14.8% { scale: 1.06; } 17% { scale: 1.02; } 20% { scale: 1; }
  /* four quick dips: down in .3s, back in .4s */
  21.7% { scale: 1; animation-timing-function: ease-in; } 25% { scale: .925; animation-timing-function: ease-out; } 30.4% { scale: 1; }
  36.7% { scale: 1; animation-timing-function: ease-in; } 40% { scale: .922; animation-timing-function: ease-out; } 45.5% { scale: 1; }
  58% { scale: 1; animation-timing-function: ease-in; } 61.9% { scale: .927; animation-timing-function: ease-out; } 67.4% { scale: 1; }
  73.6% { scale: 1; animation-timing-function: ease-in; } 77% { scale: .922; animation-timing-function: ease-out; } 81.5% { scale: 1; }
  /* swells, then shrinks away */
  89.3% { scale: 1; animation-timing-function: ease-out; } 91.9% { scale: 1.094; } 93.3% { scale: 1.026; } 94.1% { scale: .94; }
  94.8% { scale: .81; } 95.6% { scale: .64; } 96.3% { scale: .456; } 97% { scale: .28; } 98.1% { scale: .076; } 98.9%, 100% { scale: 0; }
}
/* The ring fades in as it grows and out just before it shrinks away. */
@keyframes jm-orb-ring { 0%, 5.5% { opacity: 0; } 9.6%, 91.9% { opacity: 1; } 94.1%, 100% { opacity: 0; } }


/* ==========================================================================
   Fitting the pieces into the Static layout (landing_static.css sizes every
   svg to 24px and every p to weight 300, so the pieces restate their own).
   ========================================================================== */
.landing-static {
  --jm-unit: 1px;
  @media (min-width: 1024px) { &:not([data-page="home"]) { --jm-unit: var(--static-unit); } }

  .jm-pipeline, .jm-network { width: 100%; height: auto; }
  .jm-pointer { width: 14px; height: 18px; }
  .jm-spinner { width: 20px; height: 20px; }
  .jm-sources__head svg { width: 13px; height: 13px; }
  .jm-sources__meta svg { width: 12px; height: 12px; }
  .jm-prompt p, .jm-sources p, .jm-quote { font-weight: 400; }

  /* Home */
  .static-preview-section h2 .jm-generating { margin-left: calc(26 * var(--jm-unit)); letter-spacing: 0; font-weight: 400; }
  .jm-prompt.static-app-art { max-width: 100%; }
  .jm-orb.static-orb { --size: calc(91 * var(--jm-unit)); display: block; height: var(--size); }
  .jm-device.static-sources-phone { max-width: 100%; height: auto; }
  .jm-persona-frame.static-assistant-art { max-width: 100%; }
  @media (max-width: 1023px) {
    .jm-persona-frame.static-assistant-art, .jm-network.static-network-art { width: min(100%, 440px); margin-inline: auto; }
  }
  .static-quotes .jm-quotes { margin-top: 4px; }
  .static-quotes blockquote.jm-quote { position: absolute; width: auto; margin: 0; padding: 20px 22px; font-size: 16px; line-height: 1.5; }
  .static-testimonials > .jm-video--testimonial { min-width: 0; }

  /* Product */
  .static-price-art .jm-pipeline { margin: 0 auto calc(10 * var(--jm-unit)); }

  /* Pricing */
  .jm-network.static-network-art { max-width: 100%; }
  .static-plan-intro .jm-unlock { margin: calc(12 * var(--jm-unit)) auto 0; }
  .static-table-section h2 .jm-badge-orb { --size: calc(58 * var(--jm-unit)); margin-left: calc(18 * var(--jm-unit)); vertical-align: middle; }

  /* "Everything's included" card icon */
  @media (min-width: 1024px) {
    .static-inclusions::before { content: ""; border: 0; background: url("/assets/landing_static/sparkles-circle-f75b5449.svg") center / contain no-repeat; }
  }

  /* Contact pills */
  .static-contacts .jm-mail { position: absolute; top: -18px; left: -8px; width: 46px; height: 34px; }
  .static-contacts .jm-mail svg { position: static; width: 100%; height: 100%; background: none; }
}
@media (max-width: 640px) {
  .landing-static .jm-device.static-sources-phone { width: min(100%, 280px); }
  .landing-static .static-comparison-grid > * { min-width: 0; }
  .landing-static .jm-persona__role strong { font-size: 18px; }
  .landing-static .jm-persona__ask { height: 54px; gap: 10px; padding: 0 14px; font-size: 16px; }
  .landing-static .jm-persona__ask > svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   Home hero card: Josi asks, thinks, answers with sources.
   Drawn at the design's 594 x 286 and scaled with the box, so it stays sharp
   at any size (replaces the Canva video). --u is one design pixel.
   ========================================================================== */
.jm-hero { container-type: inline-size; aspect-ratio: 594 / 286; max-width: 100%; }
.jm-hero__inner {
  --u: calc(100cqw / 594);
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column;
  border: 1.5px solid #c27dbf; border-radius: calc(6 * var(--u)); background: #f3f3f3;
  box-shadow: 0 calc(20 * var(--u)) calc(50 * var(--u)) calc(-24 * var(--u)) rgba(118, 39, 120, .45);
  font-family: 'Roboto', sans-serif; color: #222; letter-spacing: 0;
}
.jm-hero__inner p { margin: 0; font-weight: 400; }
.jm-hero__inner svg { width: auto; height: auto; }
.jm-hero__banner {
  flex: none; height: calc(88 * var(--u)); display: flex; align-items: center; padding-left: calc(22 * var(--u));
  border-bottom: 1px solid #c27dbf; background: url("/assets/landing_static/josi-texture-4aa795a7.webp") center 40% / cover;
}
.jm-hero__banner span { color: #fff; font-size: calc(46 * var(--u)); font-weight: 100; letter-spacing: 0; }

/* Ask view */
.jm-hero__ask, .jm-hero__answer { position: absolute; inset: calc(88 * var(--u)) 0 0; transition: opacity .45s var(--jm-ease), transform .45s var(--jm-ease); }
.jm-hero__ask { padding: calc(6 * var(--u)) calc(12 * var(--u)) 0; }
.jm-hero__title {
  padding-left: calc(10 * var(--u)); font-size: calc(40 * var(--u)) !important; line-height: 1.2; font-weight: 300 !important; letter-spacing: -.01em;
  background: linear-gradient(90deg, #6f2a80, #b0478c 70%, #c5487e); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jm-hero__intro { margin: calc(8 * var(--u)) 0 calc(16 * var(--u)) !important; padding-left: calc(10 * var(--u)); font-size: calc(13 * var(--u)); color: #111; }
.jm-hero__box {
  position: relative; height: calc(62 * var(--u)); padding: calc(12 * var(--u)) calc(9 * var(--u)); border: 1px solid #b98ad6; border-radius: calc(8 * var(--u));
  background: #fff; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(185, 138, 214, .14); font-size: calc(12.5 * var(--u)); color: #222;
}
.jm-hero__box .jm-caret { width: 1px; }
.jm-hero__tools { position: absolute; right: calc(8 * var(--u)); bottom: calc(5 * var(--u)); display: flex; gap: calc(7 * var(--u)); align-items: center; color: #333; }
.jm-hero__tools svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); display: block; }
.jm-hero__send { position: relative; display: grid; place-items: center; width: calc(21 * var(--u)); height: calc(21 * var(--u)); border-radius: calc(4 * var(--u)); transition: background .25s, color .25s; }
.jm-hero__send::before { content: "Send"; position: absolute; bottom: calc(100% + 4 * var(--u)); left: 50%; transform: translateX(-50%); padding: calc(2 * var(--u)) calc(5 * var(--u)); border-radius: calc(3 * var(--u)); background: #333; color: #fff; font-size: calc(8.5 * var(--u)); opacity: 0; transition: opacity .2s; }
.jm-hero__label { margin-top: calc(16 * var(--u)) !important; padding-left: calc(10 * var(--u)); font-size: calc(10.5 * var(--u)); color: #111; }

/* Answer view */
.jm-hero__answer { display: flex; flex-direction: column; }
.jm-hero__viewport { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column-reverse; }
.jm-hero__thread { flex: none; min-height: 100%; padding: calc(12 * var(--u)) calc(26 * var(--u)) calc(10 * var(--u)); font-size: calc(10.5 * var(--u)); line-height: 1.55; color: #444; }
.jm-hero__meta, .jm-hero__feedback { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(8.5 * var(--u)); color: #888; }
.jm-hero__retry, .jm-hero__copy { margin-left: auto; display: inline-flex; align-items: center; gap: calc(3 * var(--u)); color: #333; font-size: calc(9.5 * var(--u)); }
.jm-hero__retry svg, .jm-hero__copy svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.jm-hero__who { display: flex; align-items: center; gap: calc(5 * var(--u)); margin: calc(12 * var(--u)) 0 calc(6 * var(--u)) !important; font-size: calc(11 * var(--u)); font-weight: 700 !important; color: #111; }
.jm-hero__inner .jm-hero__avatar { width: calc(18 * var(--u)); height: calc(18 * var(--u)); flex: none; }
.jm-hero__inner .jm-dots { display: none; color: #888; font-size: calc(9 * var(--u)); }
.jm-hero__inner .jm-dots i { width: .35em; height: .35em; }
.jm-hero__p { margin-bottom: calc(8 * var(--u)) !important; }
.jm-hero__p:empty { display: none; }
.jm-hero__list, .jm-hero__feedback, .jm-hero__sources { display: none; }
.jm-hero__list ul { margin: calc(4 * var(--u)) 0 calc(8 * var(--u)); padding-left: calc(18 * var(--u)); }
.jm-hero__list li::marker { color: #bbb; }
.jm-hero__feedback { padding-top: calc(6 * var(--u)); }
.jm-hero__feedback svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); color: #333; }
.jm-hero__thumb { display: grid; place-items: center; width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: calc(3 * var(--u)); transition: background .3s, color .3s; }
.jm-hero__sources { margin-top: calc(8 * var(--u)); color: #333; }
.jm-hero__sources p { display: flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(5 * var(--u)) 0; border-bottom: 1px solid #ddd; font-size: calc(9 * var(--u)); }
.jm-hero__sources b { display: grid; place-items: center; width: calc(12 * var(--u)); height: calc(12 * var(--u)); border: 1px solid #b06fb1; border-radius: calc(2 * var(--u)); color: var(--jm-purple); font-weight: 400; font-size: calc(7.5 * var(--u)); }
.jm-hero__sources .jm-hero__sources-head { border: 0; font-size: calc(11 * var(--u)); font-weight: 600 !important; color: #111; }
.jm-hero__sources-head svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.jm-hero__inner .jm-hero__send svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.jm-hero__follow {
  flex: none; height: 0; margin: 0 calc(6 * var(--u)); overflow: hidden; padding: 0 calc(8 * var(--u));
  border: 0 solid #b98ad6; border-radius: calc(8 * var(--u)); background: #fff; color: #9a9a9a; font-size: calc(10.5 * var(--u));
  display: flex; align-items: center; transition: height .45s var(--jm-ease), margin .45s var(--jm-ease);
}

/* Phases: ask -> ready -> thinking -> answer -> list -> sources -> liked */
.jm-hero__inner:is([data-phase="ask"], [data-phase="ready"]) .jm-hero__answer,
.jm-hero__inner:not([data-phase="ask"]):not([data-phase="ready"]) .jm-hero__ask { opacity: 0; transform: translateY(calc(8 * var(--u))); pointer-events: none; }
.jm-hero__inner[data-phase="ready"] .jm-hero__send { background: var(--jm-purple); color: #fff; }
.jm-hero__inner[data-phase="ready"] .jm-hero__send::before { opacity: 1; }
.jm-hero__inner[data-phase="ready"] .jm-caret { opacity: 0; }
.jm-hero__inner[data-phase="thinking"] .jm-dots { display: inline-flex; }
.jm-hero__inner:is([data-phase="list"], [data-phase="sources"], [data-phase="liked"]) .jm-hero__list,
.jm-hero__inner:is([data-phase="sources"], [data-phase="liked"]) :is(.jm-hero__feedback, .jm-hero__sources) { display: block; animation: jm-fade-up .5s var(--jm-ease); }
.jm-hero__inner:is([data-phase="sources"], [data-phase="liked"]) .jm-hero__feedback { display: flex; }
.jm-hero__inner:is([data-phase="sources"], [data-phase="liked"]) .jm-hero__follow { height: calc(36 * var(--u)); margin-bottom: calc(5 * var(--u)); border-width: 1px; }
.jm-hero__inner[data-phase="liked"] .jm-hero__thumb { background: var(--jm-purple); color: #fff; }
.jm-hero__inner[data-phase="liked"] .jm-hero__thumb svg { color: #fff; }
@keyframes jm-fade-up { from { opacity: 0; transform: translateY(calc(6 * var(--u))); } }

/* ==========================================================================
   Home "Log in, get 30 free prompts" section, to the design
   ========================================================================== */
.landing-static .static-preview-section { position: relative; overflow: hidden; }
/* The design's wave-line element: 713 x 713 at left 776, top -177 of the
   1366-wide section, so its peak is hidden above the section. */
.landing-static .static-preview-section::before {
  content: ""; position: absolute; top: calc(-177 * var(--jm-unit)); left: calc(50% + (776 - 683) * var(--jm-unit)); width: calc(713 * var(--jm-unit)); height: calc(713 * var(--jm-unit));
  background: url("/assets/landing_static/section-lines-8c9f9abe.svg") center / contain no-repeat; opacity: .65; pointer-events: none;
}
@media (max-width: 1023px) { .landing-static .static-preview-section::before { left: auto; right: -40%; } }
.landing-static .static-preview-section > .static-container { position: relative; }

/* Generating pill */
.landing-static .static-preview-section h2 .jm-generating {
  gap: calc(6 * var(--jm-unit)); padding: calc(7 * var(--jm-unit)) calc(15 * var(--jm-unit)) calc(7 * var(--jm-unit)) calc(10 * var(--jm-unit));
  border-radius: calc(7 * var(--jm-unit)); font-size: calc(13 * var(--jm-unit)); line-height: 1.2; color: white;
  background: linear-gradient(90deg, #205a94 0%, #5143bc 45%, #810ca8 100%);
  box-shadow: 0 0 calc(8 * var(--jm-unit)) calc(4 * var(--jm-unit)) rgba(200, 120, 255, .5), 0 0 calc(26 * var(--jm-unit)) calc(14 * var(--jm-unit)) rgba(225, 170, 255, .45);
  vertical-align: calc(1.5 * var(--jm-unit)); /* pill bottom sits on the title baseline */
}
.landing-static .static-preview-section h2 .jm-generating svg { width: calc(24 * var(--jm-unit)); height: calc(24 * var(--jm-unit)); margin: calc(-5 * var(--jm-unit)) 0; color: #fff; }
.landing-static .static-preview-section h2 .jm-generating .jm-dots i { width: calc(3 * var(--jm-unit)); height: calc(3 * var(--jm-unit)); }
.landing-static .static-preview-section h2 .jm-generating .jm-dots { align-self: stretch; align-items: flex-end; padding-bottom: .2em; }

/* Prompt card */
.landing-static .static-preview-section .jm-prompt {
  --jm-unit: .79px;
  width: calc(1330 * var(--jm-unit)); max-width: 100%; padding: calc(16 * var(--jm-unit)) calc(22 * var(--jm-unit)) calc(20 * var(--jm-unit));
  border: 1.5px solid #b55fb0; border-radius: calc(20 * var(--jm-unit)); background: #f2f2f2;
}
.landing-static .jm-prompt .jm-prompt__intro { margin: 0 0 calc(44 * var(--jm-unit)) calc(19 * var(--jm-unit)); font-size: calc(20 * var(--jm-unit)); line-height: 1.4; color: #111; }
.landing-static .jm-prompt .jm-prompt__box {
  min-height: calc(126 * var(--jm-unit)); padding: calc(22 * var(--jm-unit)) calc(18 * var(--jm-unit)) calc(48 * var(--jm-unit));
  border: 2px solid #b98ad6; border-radius: calc(12 * var(--jm-unit)); font-size: calc(17 * var(--jm-unit));
  box-shadow: 0 calc(2 * var(--jm-unit)) calc(10 * var(--jm-unit)) rgba(185, 138, 214, .3);
}
.landing-static .jm-prompt .jm-prompt__tools { right: calc(18 * var(--jm-unit)); bottom: calc(12 * var(--jm-unit)); gap: calc(16 * var(--jm-unit)); }
.landing-static .jm-prompt .jm-prompt__tools svg { width: calc(28 * var(--jm-unit)); height: calc(28 * var(--jm-unit)); }
.landing-static .jm-prompt .jm-send { width: calc(34 * var(--jm-unit)); height: calc(34 * var(--jm-unit)); border-radius: calc(7 * var(--jm-unit)); }
.landing-static .jm-prompt .jm-prompt__label { margin: calc(40 * var(--jm-unit)) 0 calc(14 * var(--jm-unit)) calc(19 * var(--jm-unit)); font-size: calc(16 * var(--jm-unit)); font-weight: 500; }
.landing-static .jm-prompt .jm-prompt__chips { gap: calc(19 * var(--jm-unit)) calc(19 * var(--jm-unit)); align-items: start; }
.landing-static .jm-prompt .jm-prompt__chips p { padding: calc(16 * var(--jm-unit)) calc(22 * var(--jm-unit)); border-radius: calc(10 * var(--jm-unit)); font-size: calc(15 * var(--jm-unit)); line-height: 1.47; color: #777; }
@media (max-width: 760px) {
  .landing-static .jm-prompt .jm-prompt__chips p:nth-child(3) { display: none; }
}


/* ==========================================================================
   Home "Purpose built" section: orb and sources phone, to the design
   ========================================================================== */
/* Orb: dark sphere with soft petals turning slowly inside it */
.jm-orb { background: none; box-shadow: none; overflow: visible; isolation: auto; }
.jm-orb > svg { display: block; width: 100%; height: 100%; }
.jm-orb__petal { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(var(--r)); animation: jm-petal var(--t) linear infinite; }
.jm-orb__petal:nth-child(even) { animation-direction: reverse; }
@keyframes jm-petal { from { transform: rotate(var(--r)) scale(1); } 50% { transform: rotate(calc(var(--r) + 180deg)) scale(1.12); } to { transform: rotate(calc(var(--r) + 360deg)) scale(1); } }

/* Phone: no URL bar, an input bar with heart and send at the bottom */
.jm-sources__avatar { top: 14px; }
.jm-sources__scroll { inset: 6px 0 0; }
.jm-sources__ask { bottom: 76px; }
.jm-sources__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 14px 18px; background: #111; }
.jm-sources__field { flex: 1; height: 20px; border: 1.5px solid #fff; border-radius: 10px; background: #111; }
.landing-static .jm-sources__bar svg, .jm-sources__bar svg { flex: none; width: 21px; height: 21px; color: #fff; }
.jm-sources__heart path { fill: transparent; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; animation: jm-heart 4.5s ease-in-out infinite; }
.jm-sources__heart { overflow: visible; }
@keyframes jm-heart {
  0%, 35% { fill: transparent; stroke: #fff; filter: none; }
  50%, 80% { fill: #e5263f; stroke: #e5263f; filter: drop-shadow(0 0 4px rgba(229, 38, 63, .7)); }
  100% { fill: transparent; stroke: #fff; filter: none; }
}
.jm-sources__doc { inset: 6px 0 0; }
.landing-static .static-home-purpose .jm-device.static-sources-phone { width: min(100%, calc(290 * var(--jm-unit))); margin: 0; }
.jm-sources { --src1-y: 43%; --src2-y: 48.5%; }

/* landing_static.css styles every paragraph in this section; keep the phone's own text sizes */
.landing-static .static-home-purpose .jm-sources :is(p, ul, li) { max-width: none; margin-top: 0; letter-spacing: 0; font-weight: 400; }
.landing-static .static-home-purpose .jm-sources__chat ul { font-size: 11.5px; line-height: 1.75; }
.landing-static .static-home-purpose .jm-sources__doc h4 { font-size: 20px; line-height: 1.15; }
.landing-static .static-home-purpose .jm-sources__doc p { margin: 0 0 10px; font-size: 10.5px; line-height: 1.5; color: #555; }
.jm-sources__avatar { transition: opacity .3s; }
.jm-sources[data-phase="doc"] .jm-sources__avatar { opacity: 0; }

/* Orb: the designer's own animation, recorded from Canva and cut to a
   seamless 5-second loop, masked to a circle. */
.jm-orb[data-jm="video"] { border-radius: 50%; overflow: hidden; background: #160c44; }
.jm-orb[data-jm="video"] video { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }

@font-face {
  font-family: 'Roboto Medium';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/Roboto-Medium-9f22e6f1.woff2") format("woff2");
}
.landing-static .jm-persona__role .jm-avatar { width: 62px; height: 62px; border-radius: 50%; }
@media (min-width: 1024px) {
  .landing-static .jm-persona-frame.static-assistant-art {
    --jm-unit: .81px;
    display: flex;
    width: calc(471 * var(--jm-unit));
    height: calc(402 * var(--jm-unit));
    padding: calc(17 * var(--jm-unit)) calc(16.5 * var(--jm-unit));
    border-radius: calc(14 * var(--jm-unit));
    border-color: transparent;
    background: transparent;
  }
  .landing-static .jm-persona-frame .jm-persona { flex: 1; }
  .landing-static .jm-persona .jm-texture { height: calc(54 * var(--jm-unit)); }
  .landing-static .jm-persona__body { padding: calc(30 * var(--jm-unit)) calc(6 * var(--jm-unit)) 0; }
  .landing-static .jm-persona__who { height: calc(106 * var(--jm-unit)); }
  .landing-static .jm-persona__role { gap: calc(14 * var(--jm-unit)); }
  .landing-static .jm-persona__role .jm-avatar { width: calc(62 * var(--jm-unit)); height: calc(62 * var(--jm-unit)); }
  .landing-static .jm-persona__role strong { gap: calc(10 * var(--jm-unit)); font-family: 'Roboto Medium', 'Roboto', sans-serif; font-size: calc(26 * var(--jm-unit)); line-height: calc(30 * var(--jm-unit)); }
  .landing-static .jm-persona__role .jm-spinner { width: calc(30 * var(--jm-unit)); height: calc(30 * var(--jm-unit)); }
  .landing-static .jm-persona__ask { height: calc(87 * var(--jm-unit)); margin: calc(14 * var(--jm-unit)) 0 0; gap: calc(22 * var(--jm-unit)); padding: 0 calc(28 * var(--jm-unit)); border-width: calc(4 * var(--jm-unit)); border-radius: calc(44 * var(--jm-unit)); font-size: calc(24 * var(--jm-unit)); }
  .landing-static .jm-persona__ask > svg { width: calc(37 * var(--jm-unit)); height: calc(37 * var(--jm-unit)); }
  .landing-static .jm-persona__ask > hr { width: calc(4 * var(--jm-unit)); height: calc(63 * var(--jm-unit)); }
  .landing-static .jm-persona__dots { margin-top: calc(31 * var(--jm-unit)); gap: calc(15.5 * var(--jm-unit)); }
  .landing-static .jm-persona__dots i { width: calc(20 * var(--jm-unit)); height: calc(20 * var(--jm-unit)); }
}

.static-footer__break { display: none; }

/* ==========================================================================
   Product, Pricing and Demo scale their phone layouts from a 375px canvas.
   Home uses fixed sizes for the illustrations below.
   ========================================================================== */
@media (max-width: 640px) {
  .landing-static:where(:not([data-page="home"])) {
    --mu: calc(min(100vw, 430px) / 375);
    .static-container { padding-inline: calc(16 * var(--mu)); }
  }

  .landing-static[data-page="home"] .static-preview-section h2 a { display: inline; min-height: 0; }
  .landing-static[data-page="home"] .static-preview-section h2 .jm-generating { --jm-unit: .72px; display: flex; width: fit-content; margin: 0; }
  .landing-static[data-page="home"] .static-preview-section .jm-prompt { --jm-unit: .2579px; width: 100%; border-width: 1px; }
  .landing-static[data-page="home"] .static-preview-section .jm-prompt .jm-prompt__chips { grid-template-columns: 1fr 1fr; }
  .landing-static[data-page="home"] .static-preview-section .jm-prompt .jm-prompt__chips p { display: block; }
  .landing-static[data-page="home"] .static-preview-section .jm-prompt .jm-prompt__box { border-width: 1px; }

  .landing-static[data-page="home"] .static-home-purpose .jm-device.static-sources-phone { width: 347px; max-width: none; margin: 0; zoom: .79; }

  .landing-static[data-page="home"] .jm-persona-frame.static-assistant-art { display: flex; width: 274px; height: 235px; margin: 0; padding: 10px; border-color: transparent; background: transparent; }
  .landing-static[data-page="home"] .jm-persona-frame .jm-persona { flex: 1; }
  .landing-static[data-page="home"] .jm-persona .jm-texture { height: 31.5px; }
  .landing-static[data-page="home"] .jm-persona__body { padding: 17.5px 3.5px 0; }
  .landing-static[data-page="home"] .jm-persona__who { height: 62px; }
  .landing-static[data-page="home"] .jm-persona__role { gap: 8px; }
  .landing-static[data-page="home"] .jm-persona__role .jm-avatar { width: 36px; height: 36px; }
  .landing-static[data-page="home"] .jm-persona__role strong { gap: 6px; font-family: 'Roboto Medium', 'Roboto', sans-serif; font-size: 15.2px; line-height: 17.5px; }
  .landing-static[data-page="home"] .jm-persona__role .jm-spinner { width: 17.5px; height: 17.5px; }
  .landing-static[data-page="home"] .jm-persona__ask { height: 51px; margin: 8px 0 0; gap: 13px; padding: 0 16px; border-width: 2px; border-radius: 26px; font-size: 14px; }
  .landing-static[data-page="home"] .jm-persona__ask > svg { width: 21.6px; height: 21.6px; }
  .landing-static[data-page="home"] .jm-persona__ask > hr { width: 2px; height: 37px; }
  .landing-static[data-page="home"] .jm-persona__dots { margin-top: 18px; gap: 9px; }
  .landing-static[data-page="home"] .jm-persona__dots i { width: 11.7px; height: 11.7px; }
}

/* ==========================================================================
   Home testimonials, to the design: the video with its own border inside one
   white frame, plain quote cards rotating front to back, a plain link.
   ========================================================================== */
.jm-video--testimonial video { aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #979a9b; }
.landing-static[data-page="home"] .static-quotes .jm-quotes { padding: 0; border-radius: 0; background: none; }
.landing-static[data-page="home"] .static-quotes .jm-quotes__dots { display: none; }
/* The front card drops away, then slides in at the back */
.landing-static[data-page="home"] .static-quotes .jm-quotes.jm-rotated .jm-quote[data-pos="2"] { animation: jm-quote-to-back 1.1s var(--jm-ease); }
@keyframes jm-quote-to-back {
  0% { z-index: 4; opacity: 1; transform: none; }
  22% { z-index: 4; opacity: 0; transform: translateY(16px) scale(.98); }
  23% { z-index: var(--back-z, 1); opacity: 0; transform: translateY(var(--back-y, -86px)) scale(.92); }
  100% { z-index: var(--back-z, 1); opacity: 1; transform: translateY(var(--back-y, -86px)) scale(.92); }
}
@media (prefers-reduced-motion: reduce) { .landing-static .static-quotes .jm-quote[data-pos="2"] { animation: none; } }
@media (max-width: 640px) {
  /* Overlap the cards in one grid cell so the tallest quote sets the stack height. */
  .landing-static[data-page="home"] .static-quotes .jm-quotes__stack {
    display: grid;
    height: auto;
    padding-top: 80px;
    align-items: start;
  }
  .landing-static[data-page="home"] .static-quotes blockquote.jm-quote {
    --back-y: -80px;
    position: relative;
    grid-area: 1 / 1;
  }
  .landing-static[data-page="home"] .static-quotes .jm-quote[data-pos="1"] { transform: translateY(-40px) scale(.96); }
  .landing-static[data-page="home"] .static-quotes .jm-quote[data-pos="2"] { transform: translateY(-80px) scale(.92); }
}
@media (min-width: 1024px) {
  .landing-static[data-page="home"] .static-quotes .jm-quotes__stack { height: 356px; }
  .landing-static[data-page="home"] .static-quotes blockquote.jm-quote { --back-y: -96px; top: 96px; bottom: auto; }
  .landing-static[data-page="home"] .static-quotes .jm-quote[data-pos="1"] { transform: translateY(-48px) scale(.96); }
  .landing-static[data-page="home"] .static-quotes .jm-quote[data-pos="2"] { transform: translateY(-96px) scale(.92); }
}

/* ==========================================================================
   Product page, measured from the Canva design (1366 canvas). --u is one
   design px on desktop.
   ========================================================================== */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/Poppins-Bold-96729a37.woff2") format("woff2"); }
@font-face { font-family: 'Clear Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/ClearSans-Regular-48ad3927.woff2") format("woff2"); }

.landing-static[data-page="product"] {
  --pc-line: #e9c7e6;
  .static-hero { position: relative; }
  .static-hero .static-container, .static-hero .static-grid { position: static; }
  .static-hero h1 + p { color: #18323e; }
  .static-product-purpose h2 + p { color: #304254; }
  .static-how { background: #fffcff; }
  .static-colour-band { background: #f3eef6 url("/assets/landing_static/product-band-18535184.webp") center / cover no-repeat; }
  .static-steps li { background: transparent; border: 1px solid var(--pc-line); border-radius: 10px; box-shadow: 0 1px 2px rgba(60, 40, 60, .12); }
  .static-steps h3 { font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; }
  .static-panel h3 { font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; }
  .static-features h3 { font-family: Poppins, Roboto, sans-serif; font-weight: 700; letter-spacing: 0; }
  .static-features p { font-family: 'Clear Sans', Roboto, sans-serif; font-weight: 400; }
  .static-product-pricing > .static-list { border-color: var(--pc-line); font-weight: 300; }
  .static-price-art { border-color: var(--pc-line); }

  /* "See full pricing": gold pill with a hard shadow, light text */
  .static-price-art .static-button.static-button.static-button {
    position: relative; display: inline-flex; min-height: 0; margin: 0; border: 0; border-radius: 16px;
    background: #f1c56c; color: #111; font-weight: 300; box-shadow: 3px 4px 0 rgba(0, 0, 0, .28);
    &:hover { background: #ebb84f; color: #111; }
  }
}

@media (min-width: 1024px) {
  .landing-static[data-page="product"] {
    --u: var(--static-unit, 1px);

    /* Hero */
    .static-hero .static-grid { grid-template-columns: calc(680 * var(--u)); }
    .static-hero .static-grid > div:first-child { padding-left: calc(14 * var(--u)); }
    .static-hero h1 { font-size: calc(70.7 * var(--u)); line-height: calc(79 * var(--u)); }
    .static-hero h1 + p { font-size: calc(26.7 * var(--u)); line-height: calc(31 * var(--u)); }
    .jm-chat-stage.static-product-phone { --s: var(--u); position: absolute; left: calc(50% + 93 * var(--u)); top: calc(2 * var(--u)); width: calc(370 * var(--s)); height: calc(613 * var(--s)); margin: 0; border-radius: calc(28 * var(--s)); }

    /* Purpose-built */
    .static-product-purpose .static-container { padding-left: calc(52 * var(--u)); }
    .static-product-purpose .static-grid { grid-template-columns: calc(643 * var(--u)) calc(574 * var(--u)); gap: 0; }
    .static-product-purpose .static-grid > div:first-child { margin-top: calc(72 * var(--u)); }
    .static-product-purpose h2 + p { margin-top: calc(30 * var(--u)); font-size: calc(26.7 * var(--u)); }
    .jm-composer-frame.static-library-art { --cu: var(--u); margin: calc(45 * var(--u)) 0 0 calc(-6 * var(--u)); }
    .static-product-purpose .static-panel { padding-right: calc(24 * var(--u)); }
    .static-product-purpose .static-panel { border-radius: calc(26 * var(--u)); }
    .static-panel h3 { font-size: calc(26.7 * var(--u)); }
    .static-panel p { font-size: calc(21.3 * var(--u)); }

    /* Four steps */
    .static-how h2 { font-size: calc(48.4 * var(--u)); }
    .static-steps { grid-template-columns: repeat(4, calc(285 * var(--u))); gap: calc(32 * var(--u)); margin-top: calc(50 * var(--u)); }
    .static-steps li { min-height: 0; height: calc(392 * var(--u)); border-radius: 0 0 calc(10 * var(--u)) calc(10 * var(--u)); }
    .static-steps .static-app__books { height: calc(92 * var(--u)); }
    .static-steps h3 { min-height: calc(117 * var(--u)); padding: calc(16 * var(--u)) calc(13 * var(--u)) 0; font-size: calc(21.3 * var(--u)); line-height: calc(25 * var(--u)); }
    .static-steps p { padding: 0 calc(38 * var(--u)) 0 calc(13 * var(--u)); font-size: calc(21.3 * var(--u)); line-height: calc(25 * var(--u)); }
    .static-how { min-height: calc(603 * var(--u)); }
    .static-colour-band { height: calc(165 * var(--u)); }

    /* Features: back tab 17 left / 16 up of a 366 x 183 card */
    .static-product-features .static-container { padding-inline: calc(71 * var(--u)); }
    .static-features { grid-template-columns: calc(432 * var(--u)) calc(423 * var(--u)) calc(366 * var(--u)); column-gap: 0; row-gap: calc(100 * var(--u)); padding: 0 0 0 calc(13 * var(--u)); }
    .static-product-features .static-subtitle { margin-bottom: calc(63 * var(--u)); }
    .static-features article { width: calc(366 * var(--u)); min-height: 0; height: calc(183 * var(--u)); padding: calc(54 * var(--u)) calc(14 * var(--u)) 0 calc(9 * var(--u)); border-radius: calc(13 * var(--u)); }
    .static-features article::before { transform: translate(calc(-17 * var(--u)), calc(-16 * var(--u))); border-radius: calc(14 * var(--u)); }
    .static-features svg { position: absolute; left: 0; top: calc(-13 * var(--u)); width: calc(54 * var(--u)); height: calc(54 * var(--u)); margin: 0; }
    .static-features h3 { font-size: calc(28 * var(--u)); line-height: calc(36 * var(--u)); }
    .static-features p { margin-top: calc(2 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(28 * var(--u)); }

    /* Pricing teaser */
    .static-product-pricing-section .static-container { padding-left: calc(53 * var(--u)); }
    .static-product-pricing { grid-template-columns: calc(679 * var(--u)) calc(513 * var(--u)); gap: calc(44 * var(--u)); align-items: start; margin-top: calc(30 * var(--u)); }
    .static-product-pricing > .static-list { height: calc(443 * var(--u)); margin-top: calc(52 * var(--u)); padding: calc(86 * var(--u)) calc(30 * var(--u)) 0 calc(45 * var(--u)); border-radius: calc(9 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(32 * var(--u)); list-style-position: outside; }
    .static-product-pricing > .static-list li { margin: 0 0 calc(32 * var(--u)); padding-left: 0; }
    .static-price-art { position: relative; width: calc(513 * var(--u)); height: calc(495 * var(--u)); padding: calc(78 * var(--u)) 0 0 calc(49 * var(--u)); border-radius: calc(12 * var(--u)); text-align: center; }
    .static-price-art .jm-pipeline { position: absolute; left: calc(52 * var(--u)); top: calc(10 * var(--u)); width: calc(420 * var(--u)); margin: 0; }
    .static-price-art__panel small { font-size: calc(14.5 * var(--u)); letter-spacing: .14em; }
    .static-price-art__panel { width: calc(416 * var(--u)); min-height: 0; height: calc(345 * var(--u)); padding: calc(52 * var(--u)) calc(30 * var(--u)) 0; border-radius: calc(12 * var(--u)); background: #5a1b62; }
    .static-price-art .static-button.static-button.static-button { position: absolute; left: calc(142 * var(--u)); top: calc(410 * var(--u)); width: calc(237 * var(--u)); height: calc(51 * var(--u)); padding: 0; justify-content: center; border-radius: calc(16 * var(--u)); font-size: calc(21.3 * var(--u)); line-height: 1; }
  }
}


/* Product page on phones, to the Canva mobile design (375 canvas, --mu) */
@media (max-width: 640px) {
  .landing-static[data-page="product"] {
    --s: calc(var(--mu) * .837); /* the design shrinks the desktop pieces to 83.7% */

    .static-section h2 { font-size: calc(37.5 * var(--mu)); line-height: calc(41 * var(--mu)); font-weight: 400; }

    /* Hero */
    .static-hero { padding: calc(42 * var(--mu)) 0 calc(4 * var(--mu)); }
    .static-hero .static-grid { gap: calc(14 * var(--mu)); }
    .static-hero h1 { margin-right: calc(-12 * var(--mu)); font-size: calc(62.4 * var(--mu)); line-height: calc(67 * var(--mu)); font-weight: 400; }
    .static-hero h1 br { display: none; }
    .static-hero h1 + p { margin-top: calc(2 * var(--mu)); font-size: calc(22.2 * var(--mu)); line-height: calc(31 * var(--mu)); font-weight: 400; }
    .static-hero h1 { margin-top: calc(-8 * var(--mu)); }
    .jm-chat-stage.static-product-phone { --s: calc(var(--mu) * .835); width: calc(370 * var(--s)); height: calc(613 * var(--s)); margin: 0 0 0 calc(16 * var(--mu)); border-radius: calc(28 * var(--s)); }

    /* Purpose-built */
    .static-product-purpose { padding: calc(30 * var(--mu)) 0 calc(36 * var(--mu)); overflow-x: clip; }
    .static-product-purpose .static-grid { gap: calc(53 * var(--mu)); container-type: inline-size; }
    .static-product-purpose .static-grid > div:first-child { padding-left: calc(8 * var(--mu)); }
    .static-product-purpose h2 { max-width: calc(320 * var(--mu)); font-size: calc(41.5 * var(--mu)); }
    .static-product-purpose h2 br { display: none; }
    .static-product-purpose h2 + p { max-width: none; margin-top: calc(12 * var(--mu)); font-size: calc(22.2 * var(--mu)); line-height: calc(27.5 * var(--mu)); font-weight: 300; }
    .jm-composer-frame.static-library-art { --cu: var(--s); margin: calc(24 * var(--mu)) 0 0 calc(-4 * var(--mu)); }
    .static-product-purpose .static-panel {
      /* full column width with the same side gaps as the other phone cards */
      --p: calc((100cqw - 6 * var(--mu)) / 574); width: calc(574 * var(--p)); min-height: 0; margin-left: calc(3 * var(--mu));
      padding: calc(35 * var(--p)) calc(24 * var(--p)) calc(9 * var(--p)) calc(30 * var(--p)); border-radius: calc(26 * var(--p));
      display: grid; grid-template-rows: repeat(4, auto); gap: calc(22 * var(--p));
    }
    .static-product-purpose .static-panel > div + div { margin: 0; }
    .static-product-purpose .static-panel h3 { font-size: calc(26.7 * var(--p)); line-height: calc(31 * var(--p)); }
    .static-product-purpose .static-panel p { font-size: calc(21.3 * var(--p)); line-height: calc(29 * var(--p)); }

    /* Four steps: the desktop cards at 83.7%, stacked and centred */
    .static-how { padding: calc(46 * var(--mu)) 0 calc(4 * var(--mu)); }
    .static-how h2 { font-size: calc(40.5 * var(--mu)); line-height: calc(46 * var(--mu)); padding-left: calc(1 * var(--mu)); }
    .static-steps { container-type: inline-size; grid-template-columns: 100%; justify-content: center; gap: calc(16 * var(--mu)); margin-top: calc(24 * var(--mu)); }
    .static-steps li { --s: calc((100cqw - 6 * var(--mu)) / 285); width: calc(285 * var(--s)); justify-self: center; height: auto; padding-bottom: calc(30 * var(--s)); border-radius: 0 0 calc(10 * var(--s)) calc(10 * var(--s)); }
    .static-steps .static-app__books { height: calc(92 * var(--s)); }
    .static-steps h3 { min-height: calc(122 * var(--s)); padding: calc(19 * var(--s)) calc(13 * var(--s)) 0; font-size: calc(21.3 * var(--s)); line-height: calc(25 * var(--s)); }
    .static-steps p { padding: 0 calc(38 * var(--s)) 0 calc(13 * var(--s)); font-size: calc(21.3 * var(--s)); line-height: calc(25.5 * var(--s)); }
    .static-colour-band { height: calc(40 * var(--mu)); }

    /* Features */
    .static-product-features { padding: calc(35 * var(--mu)) 0 calc(100 * var(--mu)); }
    .static-product-features h2 { font-size: calc(41.7 * var(--mu)); line-height: calc(40 * var(--mu)); }
    .static-product-features .static-subtitle { margin: calc(12 * var(--mu)) 0 calc(15 * var(--mu)) calc(10 * var(--mu)); font-size: calc(22.2 * var(--mu)); line-height: calc(28 * var(--mu)); font-weight: 300; }
    .static-features { grid-template-columns: calc(366 * var(--s)); gap: calc(29 * var(--mu)); padding: calc(13 * var(--mu)) 0 0 calc(24 * var(--mu)); }
    .static-features article { width: calc(366 * var(--s)); height: calc(183 * var(--s)); min-height: 0; padding: calc(54 * var(--s)) calc(14 * var(--s)) 0 calc(9 * var(--s)); border-radius: calc(13 * var(--s)); }
    .static-features article::before { transform: translate(calc(-17 * var(--s)), calc(-16 * var(--s))); border-radius: calc(14 * var(--s)); }
    .static-features svg { position: absolute; left: 0; top: calc(-13 * var(--s)); width: calc(54 * var(--s)); height: calc(54 * var(--s)); margin: 0; }
    .static-features h3 { font-size: calc(28 * var(--s)); line-height: calc(36 * var(--s)); }
    .static-features p { margin-top: calc(2 * var(--s)); font-size: calc(20 * var(--s)); line-height: calc(28 * var(--s)); }
    .static-features .static-desktop-break { display: initial; }

    /* Pricing teaser */
    .static-product-pricing-section { padding: calc(36 * var(--mu)) 0 calc(118 * var(--mu)); }
    .static-product-pricing-section h2 { font-size: calc(40.1 * var(--mu)); line-height: calc(40 * var(--mu)); }
    .static-product-pricing { gap: calc(9 * var(--mu)); margin-top: calc(28 * var(--mu)); }
    .static-product-pricing > .static-list {
      min-height: calc(486 * var(--mu)); margin: 0; padding: calc(80 * var(--mu)) calc(58 * var(--mu)) 0 calc(32 * var(--mu)); border-radius: calc(9 * var(--mu));
      font-size: calc(22.4 * var(--mu)); line-height: calc(27.5 * var(--mu)); list-style-position: outside;
    }
    .static-product-pricing > .static-list li { margin: 0 0 calc(26 * var(--mu)); padding-left: calc(2 * var(--mu)); }
    .static-price-art {
      --pp: calc(var(--mu) * .748); position: relative; width: 100%; height: calc(373 * var(--mu)); padding: calc(60 * var(--mu)) 0 0 calc(16 * var(--mu)); border-radius: calc(12 * var(--mu));
    }
    .static-price-art .jm-pipeline { position: absolute; left: calc(18 * var(--mu)); top: calc(10 * var(--mu)); width: calc(312 * var(--mu)); margin: 0; }
    .static-price-art__panel { width: calc(416 * var(--pp)); height: calc(345 * var(--pp)); min-height: 0; padding: calc(52 * var(--pp)) calc(30 * var(--pp)) 0; border-radius: calc(12 * var(--pp)); background: #5a1b62; }
    .static-price-art__panel small { font-size: calc(14.5 * var(--pp)); letter-spacing: .14em; }
    .static-price-art__panel strong { font-size: calc(66 * var(--pp)); }
    .static-price-art__panel p { font-size: calc(22 * var(--pp)); }
    .static-price-art__panel p:last-child { margin-top: calc(30 * var(--pp)); font-size: calc(15 * var(--pp)); }
    .static-price-art .static-button.static-button.static-button {
      position: absolute; left: calc(86 * var(--mu)); top: calc(309 * var(--mu)); width: calc(237 * var(--pp)); height: calc(51 * var(--pp));
      padding: 0; justify-content: center; border-radius: calc(16 * var(--pp)); font-size: calc(21.3 * var(--pp)); line-height: 1;
    }
  }
}
/* Product on tablets: hero and purpose stack, the phone card centred */
@media (min-width: 641px) and (max-width: 1023px) {
  .landing-static[data-page="product"] .static-hero .static-grid,
  .landing-static[data-page="product"] .static-product-purpose .static-grid { grid-template-columns: 1fr; gap: 40px; }
  .landing-static[data-page="product"] .jm-chat-stage.static-product-phone { width: 370px; height: 613px; margin: 0 auto; }
  .landing-static[data-page="product"] .static-product-purpose .static-panel { max-width: 574px; }
}

/* ==========================================================================
   Demo section (Product and Pricing): contact icons and the lead form as in
   the design. The design's form is set in Segoe UI; Selawik is Microsoft's
   open, metric-compatible stand-in for systems without it.
   ========================================================================== */
@font-face { font-family: 'Selawik'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/Selawik-Regular-a38fb09a.woff2") format("woff2"); }
@font-face { font-family: 'Selawik'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/Selawik-Bold-56100d37.woff2") format("woff2"); }

.landing-static .static-demo {
  .static-contacts__value { color: #9b3b98; }
  .static-contacts .jm-mail b { width: 9px; height: 9px; top: -3px; right: -3px; font-size: 0; }

  .demo-form {
    --f: 1px;
    gap: calc(8 * var(--f)); padding: calc(26 * var(--f)) calc(31 * var(--f)) calc(14 * var(--f));
    border: 1px solid #ececf0; border-radius: calc(14 * var(--f)); background: #fff; box-shadow: 0 calc(2 * var(--f)) calc(8 * var(--f)) rgba(40, 20, 50, .14);
    font-family: "Segoe UI", Selawik, Roboto, sans-serif; color: #17111f;
  }
  .demo-form__title { margin: 0; font-size: calc(18.5 * var(--f)); line-height: calc(24 * var(--f)); font-weight: 700; letter-spacing: 0; color: #17111f; }
  .demo-form__title + .demo-form__note { margin: calc(-2 * var(--f)) 0 calc(8 * var(--f)); font-size: calc(11.8 * var(--f)); line-height: calc(16 * var(--f)); color: #858090; text-align: left; }
  .demo-form__row { gap: calc(8 * var(--f)) calc(22 * var(--f)); }
  .field { gap: calc(5 * var(--f)); margin: 0; font-size: calc(10.2 * var(--f)); line-height: calc(13 * var(--f)); }
  .field label { margin: 0; font-size: inherit; line-height: inherit; font-weight: 700; color: #17111f; }
  .field input, .field select, .field textarea {
    min-height: 0; height: calc(32.5 * var(--f)); padding: 0 calc(10 * var(--f)); box-sizing: border-box;
    border: 1px solid #e5deee; border-radius: calc(7 * var(--f)); background: #f6f2f9; color: #17111f;
    font-family: inherit; font-size: calc(11 * var(--f)); line-height: calc(14 * var(--f));
  }
  .field textarea { height: calc(38 * var(--f)); padding-top: calc(8 * var(--f)); resize: vertical; }
  .demo-form .btn.btn.btn {
    min-height: 0; height: calc(40 * var(--f)); margin-top: calc(6 * var(--f)); padding: 0; border: 0; border-radius: 999px;
    background: #71246a; color: #fff; font-family: inherit; font-size: calc(14 * var(--f)); font-weight: 700; line-height: 1;
    &:hover { background: var(--static-purple-dark); }
  }
}
@media (min-width: 1024px) {
  .landing-static .static-demo {
    .demo-form { --f: var(--static-unit, 1px); }
    .static-demo__form { padding: calc(12 * var(--static-unit)); border-color: #e9c7e6; border-radius: calc(12 * var(--static-unit)); }
    .static-contacts .jm-mail { top: calc(-22 * var(--static-unit)); left: calc(4 * var(--static-unit)); width: calc(40 * var(--static-unit)); height: calc(28 * var(--static-unit)); }
    .static-contacts a > svg { top: calc(-18 * var(--static-unit)); left: calc(3 * var(--static-unit)); width: calc(40 * var(--static-unit)); height: calc(40 * var(--static-unit)); }
  }
}
@media (max-width: 1023px) {
  .landing-static .static-demo {
    .demo-form { --f: 1.35px; }
    @media (max-width: 640px) {
      .demo-form { --f: 1.12px; padding: calc(24 * var(--f)) calc(22 * var(--f)) calc(16 * var(--f)); }
      .static-demo__form { padding: calc(12 * var(--mu)); }
    }
    .field input, .field select, .field textarea { font-size: 16px; } /* no zoom on focus in iOS */
  }
}

/* Phones: the hero's background runs up behind the header */
@media (max-width: 640px) {
  .landing-static:not([data-page="home"]) main > .static-hero.static-background:first-child { margin-top: -320px; border-top: 320px solid transparent; background-origin: border-box; }
}

/* ==========================================================================
   Demo and explore bands, shared by Product and Pricing (same layout in
   both designs)
   ========================================================================== */
.landing-static:is([data-page="product"], [data-page="pricing"]) {
  --pc-line: #e9c7e6;
  .static-demo .static-subtitle, .static-demo__description { color: #304254; }
  .static-demo__form { border-color: var(--pc-line); }

  /* Contact pills: white, thin pink edge, light text with the address in magenta */
  .static-contacts.static-contacts.static-contacts.static-contacts a {
    display: flex; align-items: center; justify-content: center; border: 1px solid var(--pc-line); border-radius: 99px; background: #fff; color: #111; font-weight: 300; text-align: center;
    &:hover { border-color: var(--static-purple); background: #fff; color: #111; }
  }

  /* Explore band: the design's swirl, a glass outline and a plain magenta link */
  .static-explore { background: #f3eef6 url("/assets/landing_static/product-band-18535184.webp") center / cover no-repeat; }
  .static-explore .static-container > a.static-explore__link, .static-explore .static-container > a {
    position: relative; display: flex; align-items: center; justify-content: flex-start; width: auto; max-width: none; min-height: 0; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .95); border-radius: 9px; background: rgba(255, 255, 255, .08); box-shadow: none;
    color: #80358d; font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; text-align: left;
    &:hover { background: rgba(255, 255, 255, .35); color: var(--static-purple-dark); }
  }
}
@media (min-width: 1024px) {
  .landing-static:is([data-page="product"], [data-page="pricing"]) {
    --u: var(--static-unit, 1px);

    /* Demo */
    .static-demo .static-subtitle, .static-demo__description, .static-contacts { margin-left: calc(8 * var(--u)); }
    .static-demo .static-demo__description { max-width: calc(560 * var(--u)); font-weight: 400; letter-spacing: 0; font-size: calc(26.7 * var(--u)); line-height: calc(37 * var(--u)); }
    .static-contacts { gap: calc(26 * var(--u)); }
    .static-contacts.static-contacts.static-contacts.static-contacts a { width: calc(552 * var(--u)); min-height: calc(72 * var(--u)); padding: 0 calc(30 * var(--u)); font-size: calc(21.3 * var(--u)); }
    .static-demo { min-height: calc(603 * var(--u)); }
    .static-demo .static-grid { grid-template-columns: calc(736 * var(--u)) calc(496 * var(--u)); gap: 0; }
    .static-demo__form { width: calc(496 * var(--u)); padding: calc(12 * var(--u)); border-radius: calc(12 * var(--u)); }

    /* Explore */
    .static-explore { min-height: calc(165 * var(--u)); padding: calc(38 * var(--u)) 0 0; }
    .static-explore .static-container { padding-inline: calc(47 * var(--u)) calc(64 * var(--u)); }
    .static-explore .static-container > a { height: calc(89 * var(--u)); padding: 0 calc(30 * var(--u)); font-size: calc(18.7 * var(--u)); }
  }
}
@media (max-width: 640px) {
  .landing-static:is([data-page="product"], [data-page="pricing"]) {

    /* Demo */
    .static-demo { padding: calc(28 * var(--mu)) 0 calc(14 * var(--mu)); }
    .static-demo .static-grid { gap: calc(22 * var(--mu)); }
    .static-demo h2 { font-size: calc(38.6 * var(--mu)); line-height: calc(45 * var(--mu)); }
    .static-demo .static-subtitle { margin: calc(14 * var(--mu)) 0 0; font-size: calc(18.4 * var(--mu)); line-height: calc(24 * var(--mu)); }
    .static-demo .static-demo__description { margin: calc(8 * var(--mu)) 0 calc(26 * var(--mu)); font-size: calc(22.1 * var(--mu)); line-height: calc(31.5 * var(--mu)); font-weight: 400; letter-spacing: 0; }
    .static-contacts { gap: calc(18 * var(--mu)); }
    .static-contacts.static-contacts.static-contacts.static-contacts a { width: 100%; min-height: calc(43 * var(--mu)); padding: 0 calc(10 * var(--mu)) 0 calc(20 * var(--mu)); font-size: calc(14.1 * var(--mu)); }
    .static-contacts svg, .static-contacts .jm-mail { top: calc(-12 * var(--mu)); left: calc(2 * var(--mu)); width: calc(28 * var(--mu)); height: calc(24 * var(--mu)); }
    .static-demo__form { padding: calc(12 * var(--mu)); border-radius: calc(12 * var(--mu)); }

    /* Explore */
    .static-explore { min-height: 0; padding: calc(31 * var(--mu)) 0 calc(32 * var(--mu)); }
    .static-explore .static-container > a { height: calc(92 * var(--mu)); margin: 0 calc(15 * var(--mu)) 0 calc(14 * var(--mu)); padding: 0 calc(12 * var(--mu)) 0 calc(14 * var(--mu)); font-size: calc(15.6 * var(--mu)); line-height: calc(18.5 * var(--mu)); }
  }
}

/* ==========================================================================
   Pricing page, measured from the Canva design (1366 canvas). --u is one
   design px on desktop.
   ========================================================================== */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/DMSans-Bold-1545a9e1.woff2") format("woff2"); }

.landing-static[data-page="pricing"] {
  --pp-plum: #5a1b62;
  --pp-btn: linear-gradient(90deg, #7a2276 0%, #a71da4 45%, #d97bbb 100%);
  --pp-grad: linear-gradient(90deg, #81358d 0%, #8d3986 40%, #c14880 100%);
  .static-pricing-hero { position: relative; }
  .static-pricing-hero .static-container, .static-pricing-hero .static-grid { position: static; }
  .static-pricing-hero h1 + p { color: #000; }

  /* Price tags: overlapping white pills with a bold magenta chevron */
  .static-price-tags { gap: 0; }
  .static-price-tags li { position: relative; justify-content: space-between; white-space: nowrap; border: 2px solid var(--pp-plum); background: #fff; color: #101010; font-weight: 300; }
  .static-price-tags li:nth-child(1) { z-index: 3; } .static-price-tags li:nth-child(2) { z-index: 2; } .static-price-tags li:nth-child(3) { z-index: 1; }
  .static-price-tags svg { color: #b61d85; }

  /* Plan card */
  .static-plan-intro { border: 1.5px solid #9e79a2; background: #fdfdfd; box-shadow: 4px 10px 12px rgba(40, 20, 50, .22); }
  .static-plan-intro h2 { border: 2.5px solid var(--pp-plum); background: #fff; color: #72246c; font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; }
  .static-plan-intro h2 span { color: #111; font-family: Roboto, sans-serif; font-weight: 300; }
  .static-plan-intro p { color: #18323e; font-weight: 300; }
  .static-plan-intro .static-button.static-button.static-button {
    display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0;
    border: 1.5px solid var(--pp-plum); border-radius: 99px; background: var(--pp-btn); color: #fff;
    font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; text-decoration: underline; text-underline-offset: 2px;
    &:hover { background: var(--static-purple-dark); color: #fff; }
  }

  /* Everything's included */
  .static-pricing-inclusions h2 + p { color: #000; font-weight: 300; }
  .static-pricing-inclusions .static-bordered { border: 1px solid #efdfff; background: transparent; }
  .static-inclusions { background: linear-gradient(135deg, #80358d 0%, #8a3789 45%, #cf4c7f 100%); font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; }
  /* Canva's own sparkle-ring icon, slowly turning clockwise (one turn per
     20s, measured from the design's animation). */
  .static-inclusions::before { animation: jm-spin 20s linear infinite; }
  @media (prefers-reduced-motion: reduce) { .static-inclusions::before { animation: none; } }

  /* Plans */
  .static-plan-section { background: #f8f6f9; }
  .static-plan-section .static-subtitle { color: #000; font-weight: 300; }
  .static-plans article { border: 1px solid var(--pp-plum); }
  .static-plans .static-plan--featured { background: linear-gradient(160deg, #f8e8fd, #eddafd); box-shadow: 6px 14px 16px rgba(40, 20, 50, .28); }
  .static-plans h3 { font-weight: 700; color: #000; }
  .static-plans .static-plan-price, .static-plan-price small, .static-plan-users, .static-plan--trial ul { color: #b61d85; }
  .static-plan--trial .static-plan-price + p { color: #304254; font-weight: 300; }
  .static-plan--featured h3 + p { color: #000; font-weight: 400; }
  .static-plans .static-plan-badge { border-radius: 8px; background: var(--pp-grad); font-family: 'DM Sans', Roboto, sans-serif; font-weight: 700; }
  .static-plans .static-button.static-button.static-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 0; padding: 0; border: 0; border-radius: 8px;
    background: var(--pp-grad); color: #fff; font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500;
    &:hover { background: var(--static-purple-dark); color: #fff; }
  }

  /* Table */
  .static-price-table-wrap { border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .25); }
  .static-price-table th, .static-price-table td { border-color: #cfc9d8; }
  .static-price-table thead th { background: #72246c; font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; }
  .static-price-table tbody :is(th, td) { font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; color: #111; }
  .static-price-table tbody tr:nth-child(even) :is(th, td) { background: #f7f4fa; }
  .static-price-table-wrap > p { color: #74246d; font-weight: 300; background: linear-gradient(90deg, #74246d, #c96fc6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  /* "Let's talk" in the table is plain purple text in the design */
  .static-price-table .static-button.static-button.static-button {
    display: inline; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #72246c;
    font-family: 'Roboto Medium', Roboto, sans-serif; font-weight: 500; font-size: inherit; text-decoration: none;
    &:hover { background: none; color: var(--static-purple-dark); text-decoration: underline; }
  }
}

@media (min-width: 1024px) {
  .landing-static[data-page="pricing"] {
    --u: var(--static-unit, 1px);

    /* Hero */
    .static-pricing-hero .static-grid { grid-template-columns: calc(800 * var(--u)); }
    .static-pricing-hero .static-grid > div:first-child { padding-left: calc(14 * var(--u)); }
    .static-pricing-hero h1 { font-size: calc(70.7 * var(--u)); line-height: calc(79 * var(--u)); }
    .static-pricing-hero h1 + p { margin-top: calc(14 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(37 * var(--u)); font-weight: 400; letter-spacing: 0; }

    .static-plan-intro { position: absolute; left: calc(50% + 210 * var(--u)); top: calc(56 * var(--u)); }



    /* Everything's included */
    .static-pricing-inclusions { min-height: calc(799 * var(--u)); padding: 0; }
    .static-pricing-inclusions .static-grid { grid-template-columns: calc(506 * var(--u)) calc(736 * var(--u)); gap: 0; padding-top: calc(38 * var(--u)); align-items: start; }
    .static-pricing-inclusions .static-grid > div:first-child { margin: calc(120 * var(--u)) 0 0 calc(-8 * var(--u)); padding: 0; }
    .static-pricing-inclusions h2 { font-size: calc(48 * var(--u)); line-height: calc(48 * var(--u)); }
    .static-pricing-inclusions h2 + p { width: auto; max-width: calc(500 * var(--u)); margin-top: calc(23 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(37 * var(--u)); }
    .static-pricing-inclusions .jm-network.static-network-art { width: calc(446 * var(--u)); max-width: none; margin: calc(37 * var(--u)) 0 0 calc(-3 * var(--u)); }

    /* Plans */
    .static-plan-section { min-height: calc(768 * var(--u)); padding-top: calc(49 * var(--u)); }
    .static-plan-section h2 { font-size: calc(50.7 * var(--u)); line-height: calc(59 * var(--u)); }
    .static-plan-section .static-subtitle { margin: calc(13 * var(--u)) 0 0 calc(8 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(32 * var(--u)); }
    .static-plans { grid-template-columns: calc(333 * var(--u)) calc(329 * var(--u)) calc(324 * var(--u)); gap: calc(64 * var(--u)); margin: calc(68 * var(--u)) 0 0 calc(81 * var(--u)); align-items: start; }

    /* Table */
    .static-table-section { min-height: calc(768 * var(--u)); padding-top: calc(45 * var(--u)); }
    .static-table-section h2 { margin-left: calc(-7 * var(--u)); font-size: calc(48 * var(--u)); line-height: calc(58 * var(--u)); }
    .static-table-section h2 .jm-badge-orb { --size: calc(52 * var(--u)); margin-left: calc(41 * var(--u)); vertical-align: calc(-2 * var(--u)); }
    .static-table-section .static-subtitle { margin: calc(8 * var(--u)) 0 0 calc(4 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(32 * var(--u)); font-weight: 300; color: #000; }
    .static-price-table-wrap { box-sizing: border-box; width: calc(1276 * var(--u)); margin: calc(12 * var(--u)) 0 0 calc(-7 * var(--u)); padding: calc(20 * var(--u)) calc(36 * var(--u)) calc(30 * var(--u)); border-radius: calc(14 * var(--u)); }
    .static-price-table { width: calc(1133 * var(--u)); table-layout: fixed; }
    .static-price-table col:nth-child(1), .static-price-table th:nth-child(1) { width: calc(372 * var(--u)); }
    .static-price-table thead th:nth-child(2) { width: calc(392 * var(--u)); }
    .static-price-table thead th { height: calc(77 * var(--u)); padding: 0 calc(8 * var(--u)); font-size: calc(18.7 * var(--u)); line-height: calc(26 * var(--u)); }
    .static-price-table tbody :is(th, td) { height: calc(76.5 * var(--u)); padding: 0 calc(9 * var(--u)); font-size: calc(19.7 * var(--u)); line-height: calc(24 * var(--u)); }
    .static-price-table-wrap > p { max-width: calc(1070 * var(--u)); margin-top: calc(21 * var(--u)); font-size: calc(18.7 * var(--u)); line-height: calc(22 * var(--u)); }

    /* Demo: the Pricing design uses the larger heading and subtitle */
    .static-demo h2 { font-size: calc(50.7 * var(--u)); line-height: calc(59 * var(--u)); }
    .static-demo .static-subtitle { margin-top: calc(10 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(32 * var(--u)); font-weight: 400; }
    .static-demo .static-demo__description { max-width: calc(600 * var(--u)); }
  }
}
/* Pieces the phone design shows as the desktop ones, scaled (see --u below) */
@media (min-width: 1024px), (max-width: 640px) {
  .landing-static[data-page="pricing"] {
    .static-price-tags { margin-top: calc(50 * var(--u)); padding: 0; border: 0; }
    .static-price-tags li { box-sizing: border-box; height: calc(43 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(19 * var(--u)); border-radius: calc(22 * var(--u)); font-size: calc(15.3 * var(--u)); }
    .static-price-tags li:nth-child(1) { width: calc(188 * var(--u)); }
    .static-price-tags li:nth-child(2) { width: calc(207 * var(--u)); margin-left: calc(-31 * var(--u)); padding-left: calc(38 * var(--u)); }
    .static-price-tags li:nth-child(3) { width: calc(234 * var(--u)); margin-left: calc(-34 * var(--u)); padding-left: calc(38 * var(--u)); }
    .static-price-tags svg { width: calc(15 * var(--u)); height: calc(24 * var(--u)); }
    .static-plan-intro { width: calc(399 * var(--u)); height: calc(530 * var(--u)); margin: 0; padding: 0; box-sizing: border-box; border-radius: calc(10 * var(--u)); overflow: visible; }
    .static-plan-intro > * { position: absolute; margin: 0; }
    .static-plan-intro .static-app__books { left: 0; right: 0; top: 0; height: calc(92 * var(--u)); border-radius: calc(9 * var(--u)) calc(9 * var(--u)) 0 0; }
    .static-plan-intro h2 { left: calc(79 * var(--u)); top: calc(45 * var(--u)); box-sizing: border-box; width: calc(240 * var(--u)); height: calc(68 * var(--u)); padding: calc(10 * var(--u)) 0 0; border-radius: calc(34 * var(--u)); font-size: calc(18.7 * var(--u)); line-height: calc(26 * var(--u)); text-align: center; }
    .static-plan-intro h2 span { margin: 0; font-size: calc(18.7 * var(--u)); line-height: calc(26 * var(--u)); }
    .static-plan-intro p { left: calc(24 * var(--u)); right: calc(24 * var(--u)); font-size: calc(18.7 * var(--u)); line-height: calc(26 * var(--u)); }
    .static-plan-intro p:nth-of-type(1) { top: calc(128 * var(--u)); padding-inline: calc(30 * var(--u)); }
    .static-plan-intro p:nth-of-type(2) { top: calc(353 * var(--u)); }
    .static-plan-intro .static-button.static-button.static-button { left: calc(55 * var(--u)); width: calc(288 * var(--u)); height: calc(47 * var(--u)); font-size: calc(18.7 * var(--u)); line-height: 1; }
    .static-plan-intro .static-button.static-button.static-button:nth-of-type(1) { top: calc(194 * var(--u)); }
    .static-plan-intro .static-button.static-button.static-button:nth-of-type(2) { top: calc(415 * var(--u)); }
    .static-plan-intro .jm-unlock { --k: var(--u); left: calc(165 * var(--u)); top: calc(248 * var(--u)); }
    .static-plan-intro .jm-twinkle { left: calc(188 * var(--u)); top: calc(466 * var(--u)); width: calc(40 * var(--u)); height: calc(50 * var(--u)); }
    .static-pricing-inclusions .static-bordered { box-sizing: border-box; height: calc(723 * var(--u)); padding: calc(38 * var(--u)) calc(39 * var(--u)) calc(41 * var(--u)) calc(43 * var(--u)); border-radius: calc(24 * var(--u)); }
    .static-inclusions { box-sizing: border-box; height: 100%; margin: 0; padding: calc(104 * var(--u)) calc(40 * var(--u)) 0 calc(74 * var(--u)); border-radius: calc(16 * var(--u)); font-size: calc(30.4 * var(--u)); line-height: calc(42 * var(--u)); }
    .static-inclusions li { margin: 0 0 calc(42 * var(--u)); padding-left: calc(2 * var(--u)); }
    .static-inclusions::before { top: calc(15 * var(--u)); left: calc(37 * var(--u)); width: calc(73 * var(--u)); height: calc(73 * var(--u)); }
    .static-plans article { box-sizing: border-box; height: calc(464 * var(--u)); min-height: 0; padding: calc(18 * var(--u)) calc(16 * var(--u)) 0; border-radius: calc(14 * var(--u)); }
    .static-plans article:last-child { height: calc(457 * var(--u)); padding-left: calc(30 * var(--u)); }
    .static-plans .static-plan--featured { padding-left: calc(38 * var(--u)); }
    /* Canva's own plan icons (traced from the design), each at its measured
       size and offset from the card title; the flow height stays 36/40. */
    .static-plans article > svg { color: #304254; width: calc(35.7 * var(--u)); height: calc(35.7 * var(--u)); margin: calc(-.3 * var(--u)) 0 calc(.6 * var(--u)) calc(-10.1 * var(--u)); }
    .static-plans .static-plan--trial > svg { width: calc(32.4 * var(--u)); height: calc(39.4 * var(--u)); margin: calc(-.1 * var(--u)) 0 calc(-3.3 * var(--u)) calc(-.3 * var(--u)); }
    .static-plans .static-plan--featured > svg { width: calc(39.8 * var(--u)); height: calc(33.8 * var(--u)); margin: calc(8.1 * var(--u)) 0 calc(-1.9 * var(--u)) calc(-25.9 * var(--u)); }
    .static-plans h3 { margin: calc(24 * var(--u)) 0 0 calc(3 * var(--u)); font-size: calc(26.7 * var(--u)); line-height: calc(31 * var(--u)); }
    .static-plans p { margin: 0; font-size: calc(21.3 * var(--u)); line-height: calc(29 * var(--u)); }
    .static-plans .static-plan-price { margin-top: calc(14 * var(--u)); font-size: calc(53.3 * var(--u)); line-height: calc(60 * var(--u)); }
    .static-plan-price small { margin-left: calc(16 * var(--u)); font-size: calc(21.3 * var(--u)); }
    .static-plan--trial .static-plan-price + p { margin-top: calc(10 * var(--u)); }
    .static-plans .static-plan--featured h3 + p { margin-top: calc(28 * var(--u)); }
    .static-plans .static-plan--featured h3 + p + p { margin-top: calc(18 * var(--u)); font-weight: 300; }
    .static-plans article:last-child .static-plan-price { margin-top: calc(8 * var(--u)); font-size: calc(52.6 * var(--u)); }
    .static-plans .static-plan-users { margin: calc(2 * var(--u)) 0 0 calc(4 * var(--u)); font-size: calc(21 * var(--u)); }
    .static-plans article:last-child .static-plan-users + p { margin-top: calc(14 * var(--u)); font-size: calc(19.7 * var(--u)); color: #000; }
    .static-plans ul { margin: calc(30 * var(--u)) 0 0; padding-left: calc(10 * var(--u)); list-style: disc outside; font-size: calc(18.7 * var(--u)); line-height: calc(26 * var(--u)); font-weight: 300; }
    .static-plans li { margin: 0; padding-left: 0; }
    /* the design sets these a little tighter */
    .static-plans h3, .static-plan--trial ul, .static-plan--featured ul, .static-plan--featured p { letter-spacing: -.04em; }
    .static-plans .static-plan--trial ul { margin-top: calc(34 * var(--u)); }
    .static-plans .static-plan--featured ul { margin-top: calc(30 * var(--u)); }
    .static-plans article:last-child ul { margin-top: calc(26 * var(--u)); font-size: calc(18.4 * var(--u)); }
    .static-plans .static-plan-badge { top: -1px; left: calc(73 * var(--u)); transform: none; box-sizing: border-box; width: calc(173 * var(--u)); height: calc(44 * var(--u)); padding: 0; display: grid; place-items: center; border-radius: 0 0 calc(8 * var(--u)) calc(8 * var(--u)); font-size: calc(18.3 * var(--u)); }
    .static-plans .static-button.static-button.static-button { position: absolute; top: calc(441 * var(--u)); left: calc(67 * var(--u)); width: calc(199 * var(--u)); height: calc(44 * var(--u)); margin: 0; font-size: calc(18.3 * var(--u)); }
    .static-plans .static-plan--featured .static-button.static-button.static-button { left: calc(79 * var(--u)); width: calc(173 * var(--u)); }
    .static-plans article:last-child .static-button.static-button.static-button { left: calc(69 * var(--u)); width: calc(173 * var(--u)); top: calc(441 * var(--u)); }
    .static-plans .static-button svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); margin-left: calc(18 * var(--u)); }
  }
}

/* Pricing on phones, to the Canva mobile design (375 canvas, --mu). The
   tags, plan card, inclusions panel and plan cards are the desktop pieces
   scaled, as in the design. */
@media (max-width: 640px) {
  .landing-static[data-page="pricing"] {
    .static-section h2 { font-size: calc(37.5 * var(--mu)); line-height: calc(42 * var(--mu)); font-weight: 400; }

    /* Hero */
    .static-pricing-hero { padding: calc(56 * var(--mu)) 0 calc(18 * var(--mu)); }
    .static-pricing-hero .static-grid { gap: calc(13 * var(--mu)); }
    .static-pricing-hero h1 { margin-top: calc(-6 * var(--mu)); font-size: calc(59.4 * var(--mu)); line-height: calc(65.5 * var(--mu)); font-weight: 400; }
    .static-pricing-hero h1 br, .static-pricing-hero h1 + p br { display: none; }
    .static-pricing-hero h1 + p { margin-top: calc(14 * var(--mu)); font-size: calc(21.7 * var(--mu)); line-height: calc(31 * var(--mu)); font-weight: 400; letter-spacing: 0; }
    .static-price-tags { --u: calc(var(--mu) * .608); flex-wrap: nowrap; margin-top: calc(14 * var(--mu)); }
    .static-price-tags li { white-space: nowrap; }
    /* The plan card fills the column with the same gap on both sides: its
       design unit is scaled from the column width (container query units). */
    .static-pricing-hero .static-grid { container-type: inline-size; }
    .static-plan-intro { --u: calc((100cqw - 6 * var(--mu)) / 399); max-width: none; position: relative; justify-self: start; margin-left: calc(3 * var(--mu)); }
    .static-plan-intro p:nth-of-type(1) { padding-inline: calc(14 * var(--u)); }

    /* Everything's included */
    .static-pricing-inclusions { padding: calc(42 * var(--mu)) 0 calc(30 * var(--mu)); overflow-x: clip; }
    .static-pricing-inclusions .static-grid { gap: calc(38 * var(--mu)); container-type: inline-size; }
    .static-pricing-inclusions h2 { font-size: calc(41.3 * var(--mu)); line-height: calc(40 * var(--mu)); white-space: nowrap; }
    .static-pricing-inclusions h2 + p { width: auto; max-width: none; margin-top: calc(18 * var(--mu)); font-size: calc(22.4 * var(--mu)); line-height: calc(31 * var(--mu)); }
    .static-pricing-inclusions .jm-network.static-network-art { width: 100%; max-width: none; margin: calc(18 * var(--mu)) auto 0; }
    /* Full column width with the hero card's side gaps; the frame's design
       unit is scaled from the column (container query units). */
    .static-pricing-inclusions .static-bordered { --u: calc((100cqw - 6 * var(--mu)) / 736); width: calc(736 * var(--u)); margin-left: calc(3 * var(--mu)); }
    .static-inclusions { position: relative; }
    .static-inclusions::before { content: ""; position: absolute; width: calc(73 * var(--u)); height: calc(73 * var(--u)); top: calc(15 * var(--u)); left: calc(37 * var(--u)); border: 0; background: url("/assets/landing_static/sparkles-circle-f75b5449.svg") center / contain no-repeat; }

    /* Plans: the desktop cards at 83.7%, stacked and centred */
    .static-plan-section { padding: calc(42 * var(--mu)) 0 calc(56 * var(--mu)); }
    .static-plan-section h2 { font-size: calc(40.7 * var(--mu)); }
    .static-plan-section .static-subtitle { margin: calc(10 * var(--mu)) 0 0; font-size: calc(22.4 * var(--mu)); line-height: calc(30 * var(--mu)); }
    /* Cards scale from the column width (container query units) so the
       widest card has the same side gaps as the hero's plan card. */
    .static-plans { container-type: inline-size; grid-template-columns: 100%; justify-content: center; gap: calc(34 * var(--mu)); margin: calc(22 * var(--mu)) 0 0; padding: 0; }
    .static-plans article { --u: calc((100cqw - 6 * var(--mu)) / 339); width: calc(339 * var(--u)); justify-self: center; }

    /* Table */
    .static-table-section { padding: calc(62 * var(--mu)) 0 calc(28 * var(--mu)); }
    .static-table-section h2 { font-size: calc(40.3 * var(--mu)); line-height: calc(48 * var(--mu)); }
    .static-table-section h2 .jm-badge-orb { --size: calc(46 * var(--mu)); display: block; margin: calc(8 * var(--mu)) 0 0; }
    .static-table-section .static-subtitle { margin: calc(10 * var(--mu)) 0 0 calc(4 * var(--mu)); font-size: calc(22.3 * var(--mu)); line-height: calc(28 * var(--mu)); font-weight: 300; color: #000; }
    .static-price-table-wrap { margin: calc(12 * var(--mu)) 0 0 calc(-2 * var(--mu)); padding: calc(15 * var(--mu)) calc(15 * var(--mu)) calc(22 * var(--mu)); border-radius: calc(10 * var(--mu)); }
    .static-price-table { table-layout: fixed; font-size: calc(16.5 * var(--mu)); }
    .static-price-table thead th { height: calc(104 * var(--mu)); padding: 0 calc(6 * var(--mu)); font-size: calc(16.5 * var(--mu)); line-height: calc(22 * var(--mu)); }
    .static-price-table tbody :is(th, td) { height: calc(64 * var(--mu)); padding: 0 calc(6 * var(--mu)); font-size: calc(16.5 * var(--mu)); line-height: calc(22.5 * var(--mu)); }
    .static-price-table tbody th { padding-left: calc(6 * var(--mu)); }
    .static-price-table-wrap > p { margin-top: calc(18 * var(--mu)); padding-inline: 0; font-size: calc(15.7 * var(--mu)); line-height: calc(18.5 * var(--mu)); }

    /* Demo: the Pricing design's larger heading and subtitle */
    .static-demo h2 { font-size: calc(40.9 * var(--mu)); line-height: calc(45 * var(--mu)); }
    .static-demo .static-subtitle { font-size: calc(22.2 * var(--mu)); line-height: calc(28 * var(--mu)); font-weight: 400; }
    .static-demo .static-demo__description { font-size: calc(22.3 * var(--mu)); }
  }
}

/* ==========================================================================
   Faint wave lines behind the Product "Purpose-built" panel and the Pricing
   "Everything's included" frame. Canva draws them in lavender at 19%
   opacity, clipped to the section's top right; the SVGs are that path.
   They sit behind the panel but over the section background.
   ========================================================================== */
.landing-static :is(.static-product-purpose, .static-pricing-inclusions) { isolation: isolate; }
.landing-static .static-product-purpose .static-panel,
.landing-static .static-pricing-inclusions .static-bordered { position: relative; }
.landing-static .static-product-purpose .static-panel::after,
.landing-static .static-pricing-inclusions .static-bordered::after {
  content: none; position: absolute; z-index: -1; pointer-events: none;
  background: center / 100% 100% no-repeat;
}
.landing-static .static-product-purpose .static-panel::after { background-image: url("/assets/landing_static/product-lines-ae915a38.svg"); }
.landing-static .static-pricing-inclusions .static-bordered::after { background-image: url("/assets/landing_static/pricing-lines-7ff8b6a0.svg"); }
@media (min-width: 1024px) {
  /* Lines box 420 x 639 at (946, 741) on the 1366 canvas; panel at (695, 830). */
  .landing-static .static-product-purpose .static-panel::after { content: ""; left: calc(251 * var(--u)); top: calc(-89 * var(--u)); width: calc(420 * var(--u)); height: calc(639 * var(--u)); }
  /* Lines box 346 x 559 at (1020, 741); frame at (566, 779). */
  .landing-static .static-pricing-inclusions .static-bordered::after { content: ""; left: calc(453 * var(--u)); top: calc(-39 * var(--u)); width: calc(346 * var(--u)); height: calc(559 * var(--u)); }
}
@media (max-width: 640px) {
  .landing-static .static-product-purpose .static-panel::after { content: ""; left: calc(251 * var(--p)); top: calc(-89 * var(--p)); width: calc(420 * var(--p)); height: calc(639 * var(--p)); }
  /* The mobile design places them a little higher and larger than the
     desktop layout, relative to the frame (in frame units). */
  .landing-static .static-pricing-inclusions .static-bordered::after { content: ""; left: calc(441 * var(--u)); top: calc(-105 * var(--u)); width: calc(384 * var(--u)); height: calc(619 * var(--u)); }
}
