/*
 * Ijlaas landing page (ijlaas/start.php): playful, board-inspired marketing
 * page with a playable demo. Everything is scoped to .ijm so the shared
 * ijlaas-theme.css (used by the meeting room) is untouched.
 * Animations always play (product decision): no prefers-reduced-motion switch.
 */

.ijm {
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f6f5f2;
  --line: #e7e5e0;
  --muted: #5d6169;
  --blue: #3b6fa0;
  --yellow: #ffd36e;
  --pink: #ff8fab;
  --mint: #7ddba3;
  --sky: #7fc8f8;
  --lilac: #c9b6ff;
  --peach: #ffc59e;
  --note-yellow: #ffe58a;
  --note-pink: #ffbdd2;
  --note-mint: #b8ecca;
  --note-sky: #bfe3fb;
  --note-lilac: #ddd0ff;
  --radius: 18px;
  --wrap: min(1200px, calc(100% - 40px));
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}
body.ijm-body { margin: 0; background: var(--paper); }
html:has(body.ijm-body) { scroll-behavior: smooth; }
.ijm *, .ijm *::before, .ijm *::after { box-sizing: border-box; }
.ijm h1, .ijm h2, .ijm h3 { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; margin: 0; }
.ijm a { color: inherit; }
.ijm button { font: inherit; }
.ijm :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.ijm-bg-yellow { background: var(--yellow); }
.ijm-bg-pink { background: var(--pink); }
.ijm-bg-mint { background: var(--mint); }
.ijm-bg-sky { background: var(--sky); }
.ijm-bg-lilac { background: var(--lilac); }
.ijm-bg-peach { background: var(--peach); }

/* ---------- buttons ---------- */
.ijm-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ijm-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(17,17,17,.15); color: #fff; }
.ijm-pill:active { transform: translateY(0); box-shadow: none; }
.ijm-pill-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.ijm-pill-light { background: #fff; color: var(--ink); border-color: #fff; }
.ijm-pill-light:hover { color: var(--ink); }
/* A pill used as a link (e.g. "Open room"): beat `.ijm a { color: inherit }`,
   which otherwise turns the label ink-on-ink until hover. */
.ijm a.ijm-pill { color: #fff; }
.ijm a.ijm-pill-light { color: var(--ink); }
.ijm-ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease;
}
.ijm-ghost:hover { background: var(--soft); }
.ijm-ghost-light { color: #fff; border-color: #fff; }
.ijm-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.ijm-round {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
.ijm-round:hover:not(:disabled) { transform: scale(1.06); }
.ijm-round:disabled { opacity: .3; cursor: default; }
.ijm-round-on { background: var(--yellow); }
.ijm-link-btn { border: 0; background: none; padding: 0; font-weight: 700; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.ijm-link-btn i { transition: transform .15s ease; }
.ijm-link-btn:hover i { transform: translateX(4px); }


/* ---------- hero ---------- */
.ijm-hero { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.ijm-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; font-weight: 700; animation: ijmUp .6s ease-out both; }
.ijm-scribble { position: relative; white-space: nowrap; }
.ijm-scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .32em; z-index: -1;
  background: var(--yellow); border-radius: 40% 60% 50% 45%; transform: rotate(-1.5deg) scaleX(0); transform-origin: left;
  animation: ijmMark .8s .5s ease-out forwards;
}
.ijm-lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin: 22px 0 28px; animation: ijmUp .6s .1s ease-out both; }
.ijm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; animation: ijmUp .6s .2s ease-out both;
  /* Its entrance animation gives it its own layer; keep that layer (and the open
     "New meeting" menu) above the notes and the demo that follow it. */
  position: relative; z-index: 30; }
.ijm .ij-new-wrap { position: relative; }
.ijm .ijm-menu { min-width: 320px; padding: 8px; background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 18px; animation: ijmPop .18s ease-out; }
.ijm .ijm-menu { overflow-y: auto; overscroll-behavior: contain; transform-origin: top left; }
.ijm .ijm-menu.is-up { top: auto; bottom: calc(100% + 10px); transform-origin: bottom left; animation: ijmPopUp .18s ease-out; }
@keyframes ijmPopUp { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ijm .ijm-menu button { gap: 12px; padding: 10px; border-radius: 12px; transition: background-color .15s ease; }
.ijm .ijm-menu button:hover, .ijm .ijm-menu button:focus-visible { background: var(--soft); }
.ijm .ijm-menu button i { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--ink); font-size: .95rem; }
.ijm .ijm-menu button:nth-child(1) i { background: #ffe9b0; }
.ijm .ijm-menu button:nth-child(2) i { background: #d6ecfc; }
.ijm .ijm-menu button:nth-child(3) i { background: #e7defe; }
.ijm .ijm-menu strong { font-size: .95rem; }
.ijm .ijm-menu small { font-size: .8rem; color: var(--muted); }
.ijm-join { display: flex; align-items: center; gap: 6px; flex: 1 1 300px; max-width: 380px; padding: 4px 4px 4px 16px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.ijm-join-field { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ijm-join-field i { color: var(--muted); }
.ijm-join-field input { border: 0; outline: 0; min-width: 0; width: 100%; height: 44px; font: inherit; background: transparent;
  font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ijm-join-field input::placeholder { color: #a3a6ad; font-weight: 500; letter-spacing: .08em; }
.ijm-join.is-complete { border-color: #22a06b; box-shadow: 0 0 0 4px rgba(34, 160, 107, .15); }
.ijm-join.is-complete .ijm-join-btn { background: var(--ink); color: #fff; }
.ijm-join:has(input[aria-invalid="true"]) { border-color: #e0344f; box-shadow: 0 0 0 4px rgba(224, 52, 79, .12); }
.ijm-join-btn { border: 0; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; cursor: pointer; transition: opacity .15s ease; }
.ijm-join-btn:disabled { background: var(--soft); color: #9a9da3; cursor: default; }
/* Focus: the brand yellow, not a blue ring inside the black border. */
.ijm-join:focus-within { box-shadow: 0 0 0 4px rgba(255, 211, 110, .55); }
.ijm-join-field input:focus, .ijm-join-field input:focus-visible { outline: 0; box-shadow: none; }
.ijm .ijm-notice { margin: 0 0 18px; border-radius: 14px; }
.ijm #join-error { margin: 14px 0 0; }
.ijm .ijm-created { margin-top: 18px; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--mint); }
.ijm .ijm-recent { margin-top: 16px; }
.ijm-hero-art { position: relative; }
.ijm-today { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--soft);
  border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 600; animation: ijmUp .5s ease-out both; }
.ijm-today-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; animation: ijmPulse 1.8s infinite; }
.ijm-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; color: var(--muted); font-size: .9rem; animation: ijmUp .6s .3s ease-out both; }
.ijm-trust li { display: inline-flex; align-items: center; gap: 7px; }
.ijm-trust i { color: #22a06b; }
.ijm-trust li:last-child i { color: var(--blue); }
.ijm-stickers { width: 100%; height: auto; display: block; overflow: visible; }
.ijm-bob { animation: ijmBob 5s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.ijm-draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: ijmDraw 2.2s .3s ease-out forwards; }

/* ---------- demo ---------- */
.ijm-demo-wrap { width: var(--wrap); margin: 20px auto 0; padding-bottom: 30px; }
.ijm-demo-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 30px; margin-bottom: 16px; }
.ijm-demo-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.ijm-demo-intro p { margin: 0; color: var(--muted); max-width: 52ch; }
.ijm-demo { border-radius: 22px; background: var(--soft); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.ijm-demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 2px solid var(--ink); }
.ijm-demo-title { display: flex; align-items: center; gap: 10px; }
.ijm-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 0 rgba(34,160,107,.6); animation: ijmPulse 1.8s infinite; }
.ijm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--yellow); }
.ijm-chip-soft { background: var(--soft); border: 1px solid var(--line); }
.ijm-chip-dark { background: var(--ink); color: #fff; }
.ijm-demo-meta { display: flex; align-items: center; gap: 10px; }
.ijm-avatars { display: inline-flex; }
.ijm-avatars span { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.ijm-avatars span:first-child { margin-left: 0; }
.ijm-rec { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fdecec; color: #b42318; font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
.ijm-rec i { font-size: .55rem; animation: ijmBlink 1.4s infinite; }
.ijm-demo-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 540px; }

.ijm-board {
  position: relative; overflow: hidden; touch-action: none; user-select: none;
  background-color: #fbfaf7;
  background-image: radial-gradient(circle, #d8d5ce 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}
.ijm-board canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.ijm-board.is-pen canvas { pointer-events: auto; cursor: crosshair; }
.ijm-zone { position: absolute; top: 4%; bottom: 17%; border-radius: 16px; padding: 14px 18px; z-index: 0; }
.ijm-zone-a { left: 3%; width: 54%; background: #fff1dc; }
.ijm-zone-b { right: 3%; width: 37%; background: #e9f6ef; }
.ijm-zone h3 { font-family: Caveat, cursive; font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.9rem); letter-spacing: 0; line-height: 1.1; }
.ijm-items { position: absolute; inset: 0; z-index: 3; }
.ijm-item {
  position: absolute; left: 0; top: 0; cursor: grab; touch-action: none;
  transition: box-shadow .15s ease, transform .15s ease;
  animation: ijmDrop .35s cubic-bezier(.2, 1.4, .4, 1) both;
}
.ijm-item.is-dragging { cursor: grabbing; z-index: 10; }
.ijm-item.is-selected { outline: 2px solid var(--blue); outline-offset: 3px; }
.ijm-note {
  width: clamp(104px, 15vw, 150px); min-height: clamp(96px, 13vw, 132px); padding: 12px 12px 22px; border-radius: 4px;
  font-family: Caveat, cursive; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.15; font-weight: 500;
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 10px 18px rgba(0,0,0,.1); transform: rotate(var(--r, 0deg));
}
.ijm-note.is-dragging { box-shadow: 0 18px 30px rgba(0,0,0,.2); transform: rotate(0deg) scale(1.04); }
.ijm-note small { position: absolute; left: 12px; bottom: 6px; font-family: Inter, sans-serif; font-size: .66rem; color: rgba(0,0,0,.55); }
.ijm-note[data-color="yellow"] { background: var(--note-yellow); }
.ijm-note[data-color="pink"] { background: var(--note-pink); }
.ijm-note[data-color="mint"] { background: var(--note-mint); }
.ijm-note[data-color="sky"] { background: var(--note-sky); }
.ijm-note[data-color="lilac"] { background: var(--note-lilac); }
.ijm-note [contenteditable="true"] { outline: none; cursor: text; display: block; min-height: 2em; }
.ijm-text { font-family: Caveat, cursive; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; padding: 2px 6px; }
.ijm-text [contenteditable="true"] { outline: none; cursor: text; }
.ijm-shape { width: 74px; height: 74px; border-radius: 50%; border: 4px solid var(--ink); }
.ijm-shape[data-color="yellow"] { background: var(--note-yellow); }
.ijm-shape[data-color="pink"] { background: var(--note-pink); }
.ijm-shape[data-color="mint"] { background: var(--note-mint); }
.ijm-shape[data-color="sky"] { background: var(--note-sky); }
.ijm-shape[data-color="lilac"] { background: var(--note-lilac); }
.ijm-stamp { font-size: 2rem; line-height: 1; filter: drop-shadow(0 3px 2px rgba(0,0,0,.15)); }

.ijm-cursors { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.ijm-cursor { position: absolute; left: 0; top: 0; transition: transform 1.1s cubic-bezier(.45, .05, .25, 1); }
.ijm-cursor svg { width: 20px; height: 20px; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.ijm-cursor span { position: absolute; left: 14px; top: 16px; padding: 2px 8px; border-radius: 6px; background: var(--c); color: #111; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.ijm-floats { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.ijm-hint { position: absolute; left: 50%; top: 46%; z-index: 9; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; pointer-events: none; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: ijmHint 2.4s ease-in-out infinite; transition: opacity .3s ease, transform .3s ease; }
.ijm-hint.is-gone { opacity: 0; transform: translate(-50%, -40%) scale(.9); }
.ijm-hint-hand { display: inline-block; font-size: 1.2rem; animation: ijmTap 1.2s ease-in-out infinite; }
@keyframes ijmHint { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
@keyframes ijmTap { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, -4px) rotate(-12deg); } }
.ijm-float { position: absolute; bottom: 70px; font-size: 2rem; animation: ijmFloat 2.6s ease-out forwards; }

.ijm-tools {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 8;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 16px; background: #fff;
  border: 2px solid var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.12); max-width: calc(100% - 20px); overflow-x: auto;
}
.ijm-tools button {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem; transition: background-color .15s ease, transform .12s ease;
}
.ijm-tools button:hover { background: var(--soft); }
.ijm-tools button:active { transform: scale(.92); }
.ijm-tools button.is-on { background: var(--ink); color: #fff; }
.ijm-tools-div { width: 1px; height: 26px; background: var(--line); margin: 0 4px; flex: none; }
.ijm-stamps, .ijm-swatches { display: flex; gap: 2px; align-items: center; }
.ijm-swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; }
.ijm-swatches button[data-color="yellow"] { background: var(--note-yellow); }
.ijm-swatches button[data-color="pink"] { background: var(--note-pink); }
.ijm-swatches button[data-color="mint"] { background: var(--note-mint); }
.ijm-swatches button[data-color="sky"] { background: var(--note-sky); }
.ijm-swatches button[data-color="lilac"] { background: var(--note-lilac); }
.ijm-swatches button.is-on { border-color: var(--ink); background-clip: padding-box; box-shadow: inset 0 0 0 2px #fff; }

/* side panel */
.ijm-panel { background: #fff; border-left: 2px solid var(--ink); display: flex; flex-direction: column; min-width: 0; }
.ijm-tabs { display: flex; border-bottom: 2px solid var(--ink); }
.ijm-tabs button { flex: 1; border: 0; background: transparent; padding: 14px 6px; font-weight: 700; cursor: pointer; border-right: 1px solid var(--line); transition: background-color .15s ease; }
.ijm-tabs button:last-child { border-right: 0; }
.ijm-tabs button[aria-selected="true"] { background: var(--yellow); }
.ijm-pane { padding: 18px; flex: 1; animation: ijmFade .25s ease-out; }
.ijm-pane[hidden] { display: none; }
.ijm-pane-q { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.1rem; margin: 0 0 14px; line-height: 1.3; }
.ijm-pane-note { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.ijm-poll { display: grid; gap: 10px; }
.ijm-opt {
  position: relative; display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; overflow: hidden; font-weight: 600;
  transition: transform .12s ease;
}
.ijm-opt:hover { transform: translateX(2px); }
.ijm-opt i { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--c, var(--note-sky)); z-index: 0; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.ijm-opt span, .ijm-opt b { position: relative; z-index: 1; }
.ijm-opt b { font-variant-numeric: tabular-nums; }
.ijm-opt.is-mine { box-shadow: 4px 4px 0 var(--ink); }
.ijm-opt:disabled { cursor: default; }
.ijm-react { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.ijm-react button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 1.25rem; cursor: pointer; transition: transform .12s ease; }
.ijm-react button:hover { transform: translateY(-3px) rotate(-6deg); }
.ijm-react button:active { transform: scale(.9); }

.ijm-quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ijm-ring { --p: 100; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums;
  background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--soft) 0); position: relative; }
.ijm-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ijm-ring b { position: relative; }
.ijm-quiz .ijm-opt.is-right { background: var(--note-mint); }
.ijm-quiz .ijm-opt.is-wrong { background: var(--note-pink); }
.ijm-score { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--soft); animation: ijmPop .3s ease-out; }
.ijm-score strong { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; }
.ijm-board-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.ijm-board-list li { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; background: #fff; font-size: .9rem; }
.ijm-board-list li.is-me { background: var(--yellow); font-weight: 700; }
.ijm-confetti { position: absolute; width: 8px; height: 14px; top: -10px; z-index: 9; border-radius: 2px; animation: ijmConfetti 1.6s ease-in forwards; }

.ijm-cc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; margin-bottom: 12px; }
.ijm-lang { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.ijm-lang button { border: 0; background: #fff; padding: 4px 12px; font-weight: 600; cursor: pointer; font-size: .85rem; }
.ijm-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ijm-cc { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.ijm-cc p { margin: 0; padding: 10px 12px; border-radius: 12px; background: #1d2129; color: #fff; font-size: .95rem; line-height: 1.45; animation: ijmFade .25s ease-out; }
.ijm-cc p b { display: block; font-size: .72rem; color: var(--yellow); margin-bottom: 2px; }
.ijm-cc p[lang="ur"] { direction: rtl; text-align: right; font-size: 1.05rem; }
.ijm-cc .ijm-caret::after { content: "▍"; animation: ijmBlink 1s infinite; margin-left: 2px; }

.ijm-demo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.ijm-demo-foot p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- sections ---------- */
.ijm-section { width: var(--wrap); margin: 0 auto; padding: 90px 0 40px; }
.ijm-band .ijm-section { padding: 80px 0; }
.ijm-band { margin-top: 60px; }
.ijm-band-peach { background: var(--peach); }
.ijm-band-lilac { background: var(--lilac); }
.ijm-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.ijm-section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; }
.ijm-section-head p { margin: 14px 0 0; color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.ijm-band .ijm-section-head p { color: #3a3326; }
.ijm-center { justify-content: center; text-align: center; }
.ijm-center p { margin-left: auto; margin-right: auto; }
.ijm-car-nav { display: flex; align-items: center; gap: 10px; }
.ijm-count { font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }

.ijm-car { outline: none; }
.ijm-car-stage { display: grid; }
.ijm .ijm-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; justify-content: stretch; text-align: left; padding: 44px; border-radius: 26px; border: 2px solid var(--ink); animation: ijmSlide .45s ease; }
.ijm .ijm-slide p { color: #2c2a26; }
.ijm .ijm-slide[hidden] { display: none; }
.ijm-slide h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.ijm-slide p { font-size: 1.1rem; margin: 0 0 24px; max-width: 40ch; }
.ijm-slide-art svg { width: 100%; height: auto; max-height: 300px; display: block; overflow: visible; }
.ijm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.ijm-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: transparent; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.ijm-dots button.is-active { width: 28px; border-radius: 99px; background: var(--ink); }

.ijm-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; scrollbar-width: thin; }
.ijm-card { scroll-snap-align: start; background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease; animation: ijmUp .5s ease-out both; animation-delay: calc(var(--i) * 70ms); }
.ijm-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 8px 8px 0 var(--ink); }
.ijm-card-art { height: 150px; border-radius: 14px; position: relative; display: grid; place-items: center; font-size: 2.6rem; overflow: hidden; }
.ijm-card-note { position: absolute; right: 14px; bottom: 14px; padding: 6px 10px; background: #fff; font-family: Caveat, cursive; font-weight: 700; font-size: 1.1rem; transform: rotate(4deg); box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.ijm-card h3 { font-size: 1.25rem; }
.ijm-card p { margin: 0; color: var(--muted); flex: 1; }

.ijm-after { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ijm-mock { border-radius: 22px; padding: 18px; border: 2px solid var(--ink); transition: transform .2s ease; }
.ijm-mock:hover { transform: translateY(-4px); }
.ijm-mock h3 { font-size: 1.2rem; margin-top: 16px; }
.ijm-mock p { margin: 6px 0 0; font-size: .95rem; }
.ijm-mock-ui { height: 150px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ijm-mock-ui b { font-size: .8rem; }
.ijm-ui-notes span { height: 9px; border-radius: 5px; background: #e9e7e1; width: 100%; animation: ijmGrow 1.6s ease-out infinite alternate; transform-origin: left; }
.ijm-ui-notes span.short { width: 60%; }
.ijm-ui-notes em { font-style: normal; display: flex; gap: 8px; color: #22a06b; }
.ijm-ui-att i { display: block; height: 14px; border-radius: 7px; background: var(--note-mint); width: var(--w); animation: ijmGrow 1.4s ease-out both; transform-origin: left; }
.ijm-ui-rec { flex-direction: row; align-items: center; justify-content: center; gap: 16px; }
.ijm-play { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.ijm-wave { display: flex; align-items: center; gap: 4px; height: 60px; }
.ijm-wave i { width: 5px; border-radius: 3px; background: var(--pink); height: 30%; animation: ijmWave 1s ease-in-out infinite; }
.ijm-wave i:nth-child(2n) { animation-delay: .15s; }
.ijm-wave i:nth-child(3n) { animation-delay: .3s; }
.ijm-wave i:nth-child(5n) { animation-delay: .45s; }
.ijm-ui-dash { flex-direction: row; align-items: flex-end; gap: 10px; }
.ijm-ui-dash i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--sky); animation: ijmRise 1.2s ease-out both; transform-origin: bottom; }
.ijm-ui-dash i:nth-child(even) { background: var(--blue); }

/* features: a grid of cards of different sizes, each with an icon and a small live preview */
.ijm-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.ijm-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.ijm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ijm-fcard {
  --tint: var(--blue); --tint-soft: #eef3f8;
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px; border-radius: 24px; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); isolation: isolate;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
  animation: ijmUp .55s ease-out both; animation-delay: calc(var(--i) * 70ms);
}
.ijm-fcard::before {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--tint-soft) 0%, transparent 70%); opacity: .9; transition: transform .45s ease;
}
.ijm-fcard:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 0 22px 44px -22px rgba(17, 17, 17, .4); }
.ijm-fcard:hover::before { transform: scale(1.35); }
.ijm-fcard.is-wide { grid-column: span 2; }
.ijm-ficon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; flex: none;
  color: var(--tint); background: var(--tint-soft); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .05);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.ijm-fcard:hover .ijm-ficon { transform: rotate(-8deg) scale(1.08); }
.ijm-fcard h3 { font-size: 1.18rem; margin-bottom: 6px; }
.ijm-fcard > p { margin: 0 0 18px; color: var(--muted); font-size: .96rem; line-height: 1.5; }

.ijm-fprev { margin-top: auto; min-height: 118px; padding: 14px; border-radius: 16px; background: #f7f6f2; border: 1px solid #eeece6; font-size: .84rem; }
.ijm-fprev i[style*="--c"] { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--c); border: 2px solid #fff; display: inline-grid; place-items: center;
  font-style: normal; font-weight: 700; font-size: .68rem; color: var(--ink); }

.ijm-prev-cc { background: #1b1f27; border-color: #1b1f27; display: grid; gap: 8px; align-content: end; }
.ijm-prev-langs { display: flex; gap: 6px; margin-bottom: 2px; }
.ijm-prev-langs span { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #aeb4c0; font-size: .74rem; font-weight: 600; }
.ijm-prev-langs .is-on { background: #fff; color: var(--ink); }
.ijm-prev-cc p { margin: 0; color: #fff; font-size: .9rem; line-height: 1.4; }
.ijm-prev-cc p b { display: block; color: var(--yellow); font-size: .7rem; margin-bottom: 2px; }
.ijm-type { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 100%; vertical-align: bottom; border-right: 2px solid var(--yellow);
  animation: ijmTyping 4.5s steps(40, end) infinite, ijmBlinkCaret .8s step-end infinite; }

.ijm-prev-hands { display: grid; gap: 6px; }
.ijm-prev-hands div { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 11px; background: #fff; font-weight: 600; animation: ijmUp .5s ease-out both; }
.ijm-prev-hands div:nth-child(2) { animation-delay: .15s; }
.ijm-prev-hands div:nth-child(3) { animation-delay: .3s; }
.ijm-prev-hands em { font-style: normal; width: 20px; height: 20px; border-radius: 6px; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.ijm-prev-hands span { margin-left: auto; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: .72rem; color: var(--muted); }

.ijm-prev-react { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7f6f2 100%); }
.ijm-prev-react span { position: absolute; left: var(--x); bottom: -24px; font-size: 1.45rem; animation: ijmBubble 2.8s ease-in infinite; animation-delay: var(--d); }

.ijm-prev-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: center; }
.ijm-prev-rooms > div { padding: 12px; border-radius: 13px; background: #fff; border: 1px solid #eeece6; display: grid; gap: 10px; }
.ijm-prev-rooms b { font-size: .8rem; }
.ijm-stack { display: flex; }
.ijm-stack i { margin-left: -7px; }
.ijm-stack i:first-child { margin-left: 0; }
.ijm-prev-rooms strong { grid-column: 1 / -1; justify-self: end; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .76rem; }

.ijm-prev-lobby { display: grid; gap: 12px; align-content: center; background: #fff; }
.ijm-lobby-who { display: flex; align-items: center; gap: 10px; }
.ijm-lobby-who b { display: block; font-size: .9rem; }
.ijm-lobby-who small { color: var(--muted); }
.ijm-lobby-who i { animation: ijmPulseRing 2s ease-out infinite; }
.ijm-lobby-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ijm-lobby-act span { text-align: center; padding: 7px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; font-size: .78rem; }
.ijm-lobby-act .is-yes { background: var(--ink); color: #fff; border-color: var(--ink); }

.ijm-prev-file { display: flex; align-items: center; gap: 12px; background: #fff; }
.ijm-file-type { width: 44px; height: 52px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint);
  font-weight: 800; font-size: .7rem; position: relative; }
.ijm-file-type::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 12px 12px 0; border-style: solid; border-color: #fff #fff rgba(17,17,17,.12) rgba(17,17,17,.12); border-radius: 0 9px 0 3px; }
.ijm-file-name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ijm-file-name b { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ijm-file-name small { color: var(--muted); font-size: .72rem; }
.ijm-file-name i { display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--tint-soft); position: relative; overflow: hidden; }
.ijm-file-name i::after { content: ""; position: absolute; inset: 0; background: var(--tint); border-radius: 3px; transform-origin: left; animation: ijmUpload 3s ease-in-out infinite; }
.ijm-file-ok { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #22a06b; color: #fff; display: grid; place-items: center; font-size: .7rem; }

.ijm-prev-saver { display: grid; gap: 14px; align-content: center; }
.ijm-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 11px; background: #fff; border: 1px solid #eeece6; }
.ijm-seg span { text-align: center; padding: 6px 4px; border-radius: 8px; font-weight: 700; font-size: .74rem; color: var(--muted); }
.ijm-seg .is-on { background: var(--tint); color: #fff; }
.ijm-bars { display: flex; align-items: flex-end; gap: 6px; height: 36px; justify-content: center; }
.ijm-bars i { width: 10px; border-radius: 3px; background: var(--tint); animation: ijmSignal 2.4s ease-in-out infinite; }
.ijm-bars i:nth-child(1) { height: 30%; }
.ijm-bars i:nth-child(2) { height: 55%; animation-delay: .2s; }
.ijm-bars i:nth-child(3) { height: 80%; animation-delay: .4s; opacity: .35; }
.ijm-bars i:nth-child(4) { height: 100%; animation-delay: .6s; opacity: .2; }

.ijm-prev-devices { display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.ijm-laptop { position: relative; width: 108px; height: 66px; border: 3px solid var(--ink); border-bottom-width: 3px; border-radius: 8px 8px 2px 2px; background: #fff; }
.ijm-laptop::after { content: ""; position: absolute; left: -14px; right: -14px; bottom: -9px; height: 6px; border-radius: 0 0 6px 6px; background: var(--ink); }
.ijm-phone { width: 36px; height: 66px; border: 3px solid var(--ink); border-radius: 9px; background: #fff; position: relative; }
.ijm-laptop i, .ijm-phone i { position: absolute; inset: 5px; border-radius: 4px; background: linear-gradient(135deg, var(--tint-soft), #fff); }
.ijm-laptop i::before, .ijm-phone i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--tint); animation: ijmPulseRing 2s ease-out infinite; }

.ijm-prev-week { display: grid; gap: 10px; align-content: center; }
.ijm-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ijm-week span { min-height: 68px; padding: 7px; border-radius: 11px; background: #fff; border: 1px solid #eeece6; display: grid; align-content: start; gap: 6px; }
.ijm-week small { color: var(--muted); font-weight: 700; font-size: .7rem; }
.ijm-week b { padding: 4px 6px; border-radius: 7px; background: var(--tint-soft); color: var(--tint); font-size: .68rem; line-height: 1.2; }
.ijm-week b.alt { background: #fff3cf; color: #a06d00; }
.ijm-remind { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .78rem; }
.ijm-remind i { color: var(--yellow); animation: ijmRing 2.5s ease-in-out infinite; transform-origin: top center; }

@keyframes ijmTyping { 0% { max-width: 0; } 55%, 85% { max-width: 100%; } 100% { max-width: 0; } }
@keyframes ijmBlinkCaret { 50% { border-color: transparent; } }
@keyframes ijmBubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-20px) scale(1.1); } 100% { transform: translateY(-150px) scale(.9); opacity: 0; } }
@keyframes ijmUpload { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes ijmSignal { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.75); } }
@keyframes ijmPulseRing { 0% { box-shadow: 0 0 0 0 rgba(17,17,17,.25); } 80%, 100% { box-shadow: 0 0 0 10px rgba(17,17,17,0); } }
@keyframes ijmRing { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-14deg); } }

.ijm-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ijm-split h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 14px; }
.ijm-split p { font-size: 1.1rem; margin: 0 0 18px; max-width: 54ch; }
.ijm-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 600; }
.ijm-ticks i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: .75rem; margin-right: 10px; }
.ijm-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ijm-flow-node { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 16px; border: 2px solid var(--ink); font-weight: 700; font-size: 1.1rem; box-shadow: 6px 6px 0 var(--ink); }
.ijm-flow-arrow { width: 4px; height: 70px; background: repeating-linear-gradient(to bottom, var(--ink) 0 10px, transparent 10px 18px); position: relative; animation: ijmDash 1s linear infinite; }
.ijm-flow-arrow::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 10px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
.ijm-flow-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.ijm-flow-tags em { font-style: normal; padding: 6px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font-weight: 600; animation: ijmBob 4s ease-in-out infinite; }
.ijm-flow-tags em:nth-child(2) { animation-delay: .5s; }
.ijm-flow-tags em:nth-child(3) { animation-delay: 1s; }

.ijm-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ijm-proof figure { margin: 0; padding: 22px; border: 2px solid var(--ink); border-radius: 20px; }

.ijm-final { width: var(--wrap); margin: 90px auto 0; padding: 70px 30px; border-radius: 30px; background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.ijm-final h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.ijm-final p { color: #c9cbd1; font-size: 1.1rem; margin: 14px 0 28px; }
.ijm-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ijm-foot { width: var(--wrap); margin: 0 auto; padding: 56px 0 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; color: var(--muted); font-size: .92rem; }
.ijm-foot-brand p { margin: 12px 0 0; max-width: 32ch; }
.ijm-foot-col { display: grid; gap: 10px; align-content: start; }
.ijm-foot-col strong { color: var(--ink); font-family: "Space Grotesk", sans-serif; }
.ijm-foot-col a { text-decoration: none; transition: color .15s ease; }
.ijm-foot-col a:hover { color: var(--ink); }
.ijm-foot-legal { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.ijm-final::before, .ijm-final::after { content: ""; position: absolute; z-index: 0; border-radius: 12px; animation: ijmBob 6s ease-in-out infinite; opacity: .9; }
.ijm-final > * { position: relative; z-index: 1; }
.ijm-final::before { width: 90px; height: 90px; background: var(--yellow); left: 6%; top: 18%; transform: rotate(-10deg); }
.ijm-final::after { width: 70px; height: 70px; background: var(--pink); right: 7%; bottom: 16%; border-radius: 50%; animation-delay: 1s; }

/* scroll reveal: set by ijlaas-landing.js */
.ijm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.ijm-reveal.is-in { opacity: 1; transform: none; }

/* ---------- motion ---------- */
@keyframes ijmUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ijmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ijmPop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ijmMark { to { transform: rotate(-1.5deg) scaleX(1); } }
@keyframes ijmBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes ijmDraw { to { stroke-dashoffset: 0; } }
@keyframes ijmPulse { 0% { box-shadow: 0 0 0 0 rgba(34,160,107,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,160,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,160,107,0); } }
@keyframes ijmBlink { 50% { opacity: 0; } }
@keyframes ijmDrop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes ijmFloat { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; transform: translateY(-30px) scale(1.15); } 100% { opacity: 0; transform: translateY(-300px) translateX(var(--sway, 20px)) scale(1); } }
@keyframes ijmConfetti { to { transform: translateY(420px) rotate(540deg); opacity: 0; } }
@keyframes ijmSlide { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes ijmGrow { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
@keyframes ijmRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ijmWave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
@keyframes ijmDash { to { background-position: 0 18px; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .ijm-after, .ijm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ijm-demo-body { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 900px) {
  .ijm-hero { grid-template-columns: 1fr; padding-top: 36px; gap: 20px; }
  .ijm-hero-art { max-width: 440px; margin: 0 auto; width: 100%; }
  .ijm-demo-body { grid-template-columns: 1fr; }
  .ijm-board { min-height: 440px; }
  .ijm-panel { border-left: 0; border-top: 2px solid var(--ink); }
  .ijm-slide { grid-template-columns: 1fr; padding: 28px; }
  .ijm-slide-art { order: -1; max-width: 360px; }
  .ijm-split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ijm { --wrap: calc(100% - 32px); }
  .ijm-actions { flex-direction: column; align-items: stretch; }
  .ijm-actions .ij-new-wrap, .ijm-actions .ijm-pill { width: 100%; }
  .ijm-join { max-width: none; flex-basis: auto; }
  .ijm-demo { box-shadow: 6px 6px 0 var(--ink); border-radius: 18px; }
  .ijm-demo-bar { padding: 10px 12px; }
  .ijm-demo-meta .ijm-chip-soft, .ijm-avatars { display: none; }
  .ijm-board { min-height: 460px; }
  .ijm-zone { bottom: 20%; }
  .ijm-zone-a { width: 94%; bottom: 52%; }
  .ijm-zone-b { width: 94%; top: 50%; right: 3%; }
  .ijm-stamps, .ijm-tools-div { display: none; }
  .ijm-note { width: 92px; min-height: 80px; padding: 8px 8px 18px; font-size: 1rem; }
  .ijm-note small { left: 8px; bottom: 4px; font-size: .6rem; }
  .ijm-zone { padding: 10px 12px; }
  .ijm-stamp { font-size: 1.6rem; }
  .ijm-tools button { width: 36px; height: 36px; }
  .ijm-section { padding-top: 64px; }
  .ijm-band .ijm-section { padding: 56px 0; }
  .ijm-after, .ijm-bento { grid-template-columns: 1fr; }
  .ijm-fcard.is-wide { grid-column: auto; }
  .ijm-prev-rooms { grid-template-columns: 1fr 1fr; }
  .ijm-week span:nth-child(n+4) { display: none; }
  .ijm-week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ijm-final { padding: 54px 20px; border-radius: 22px; }
  .ijm-car-nav .ijm-count { display: none; }
  .ijm-hero-art { max-width: 300px; }
  .ijm-foot { grid-template-columns: 1fr 1fr; }
  .ijm-foot-brand { grid-column: 1 / -1; }
  .ijm-hint { font-size: .82rem; padding: 8px 12px; }
}


/* ---------- set-up dialog (outside .ijm, so scoped to the page body) ---------- */
body.ijm-body .ij-dialog {
  width: min(480px, calc(100vw - 32px)); padding: 28px; border: 2px solid #111; border-radius: 26px; background: #fff; color: #111;
  box-shadow: 12px 12px 0 #111; font-family: Inter, "Segoe UI", system-ui, sans-serif; overflow: visible;
}
body.ijm-body .ij-dialog[open] { animation: ijmDialogIn .28s cubic-bezier(.2, 1.3, .4, 1); }
body.ijm-body .ij-dialog::backdrop { background: rgba(17, 17, 17, .45); backdrop-filter: blur(6px); }
body.ijm-body .ijm-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
body.ijm-body .ijm-dialog-step { padding: 4px 12px; border-radius: 999px; background: #ffd36e; font-size: .75rem; font-weight: 700; }
body.ijm-body .ij-dialog h2 { font-family: "Space Grotesk", sans-serif; font-size: 1.75rem; letter-spacing: -.02em; margin: 0 0 6px; }
body.ijm-body .ij-dialog-copy { margin: 0 0 22px; color: #5d6169; font-size: .97rem; }
body.ijm-body .ij-field > span { font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
body.ijm-body .ij-field > span b { color: #e0344f; }
body.ijm-body .ij-dialog .ij-input {
  min-height: 52px; padding: 0 16px; border: 2px solid #e6e4df; border-radius: 14px; background: #fbfaf7; font-size: 1rem; color: #111;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
body.ijm-body .ij-dialog .ij-input:hover { border-color: #cfcbc2; }
body.ijm-body .ij-dialog .ij-input:focus { border-color: #111; background: #fff; box-shadow: 0 0 0 4px rgba(255, 211, 110, .55); }
body.ijm-body .ij-dialog .ij-input[aria-invalid="true"] { border-color: #e0344f; box-shadow: 0 0 0 4px rgba(224, 52, 79, .14); }
body.ijm-body .ij-field-error { font-weight: 600; }
body.ijm-body .ij-dialog .ij-error { border-radius: 14px; margin-bottom: 16px; }
body.ijm-body .ij-dialog-actions { gap: 10px; margin-top: 12px; }
body.ijm-body .ij-dialog .ij-btn { white-space: nowrap; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: .97rem; font-weight: 700; box-shadow: none; }
body.ijm-body .ij-dialog .ij-btn-secondary { border: 2px solid #e6e4df; background: #fff; color: #111; }
body.ijm-body .ij-dialog .ij-btn-secondary:hover { border-color: #111; }
body.ijm-body .ij-dialog .ij-btn-primary { border: 2px solid #111; background: #111; color: #fff; }
body.ijm-body .ij-dialog .ij-btn-primary:hover { background: #111; transform: translateY(-2px); box-shadow: 0 5px 0 rgba(17, 17, 17, .2); }
body.ijm-body .ij-dialog .ij-btn-primary:disabled { opacity: .6; transform: none; box-shadow: none; }
body.ijm-body .ij-dialog .ij-btn:focus-visible { outline: 3px solid #3b6fa0; outline-offset: 3px; }
@keyframes ijmDialogIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  body.ijm-body .ij-dialog { padding: 22px; box-shadow: 8px 8px 0 #111; }
  body.ijm-body .ij-dialog h2 { font-size: 1.45rem; }
  body.ijm-body .ij-dialog-actions .ij-btn { flex: 1; padding: 0 14px; white-space: nowrap; }
}

/* Join: checking a code, and the message when there is no meeting behind it */
.ijm-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: ijmSpin .7s linear infinite; vertical-align: -2px; margin-right: 4px; }
@keyframes ijmSpin { to { transform: rotate(360deg); } }
.ijm .ijm-join-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 560px; padding: 12px 16px; border-radius: 14px; animation: ijmUp .3s ease-out both; }
.ijm .ijm-join-msg span { flex: 1 1 260px; }
.ijm .ijm-join-msg.ij-notice { background: #fff8e1; border: 1.5px solid #f2c94c; color: #5c4400; }
.ijm .ijm-join-msg.ij-error { background: #fdecef; border: 1.5px solid #f3a7b4; color: #8a1c2e; }
.ijm-join-msg-link { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff !important; font-weight: 700; font-size: .85rem; text-decoration: none; }
.ijm-join-msg-link:hover { transform: translateY(-1px); }

/* Start meeting pulses while the organiser's email address is being checked. */
#setup-submit.is-checking { cursor: progress; animation: ij-email-checking 1s ease-in-out infinite; }
@keyframes ij-email-checking { 50% { opacity: .6; } }
