/* Mobil İcra case study: page-specific designs on top of the shared kit (assets/case-study/case.css), which keeps the
   site's type and section styles. The page borrows from the product's own logic: money owed to you flows in (blue,
   arrow pointing in), money you owe flows out (coral, arrow pointing out). Components: money lanes in the hero, a
   phone that turns over between the creditor and the debtor view, a case folder that opens on its history, a padlock
   that opens for the restrictions a payment can lift, a payment flow with the total adding up beside it, and a
   wallet of official documents to flip through.
   Palette from the app: blue #5e7be5, coral #f06666, green #82c07e, teal #77b6cb, gold #d7ac42, violet-pink #b56fd0. */
.mi-case { --mn-accent:#5e7be5; --mi-blue:#5e7be5; --mi-blue-2:#a9b8ff; --mi-coral:#f06666; --mi-coral-2:#ffa2a2; --mi-green:#82c07e; --mi-line:rgba(255,255,255,.1);
  --glass-fill:color-mix(in srgb, rgb(94 123 229) 8%, rgba(10,12,22,.84)); --glass-edge:rgba(94,123,229,.24); --glass-highlight:rgba(169,184,255,.5);
  --glass-drop:rgba(0,0,0,.9); --glass-glow:rgba(94,123,229,.6); --glass-shade:#000; --glass-shine:#c9d4ff;
  --stat-bg:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015) 60%),radial-gradient(120% 90% at 0% 0%,rgba(94,123,229,.36),transparent 62%),radial-gradient(90% 80% at 100% 100%,rgba(240,102,102,.2),transparent 65%),linear-gradient(rgba(10,12,24,.84),rgba(10,12,24,.84));
  --stat-border:rgba(94,123,229,.26); --stat-border-hover:rgba(169,184,255,.55); --stat-glow:rgba(94,123,229,.42); --stat-glow-hover:rgba(94,123,229,.72);
  --stat-shade:#060a24; --stat-shine:#d6deff; --stat-number:#fff; --stat-label:#fff;
}
/* Screens fill their frame from the top; taller screens show their top part (long ones scroll, kit .mn-autoscroll). */
.mi-case .mn-screen { background:#fff; }
.mi-case .mn-phone-frame { box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 4px #08080b, 0 50px 90px -40px rgba(94,123,229,.6), 0 0 0 1px rgba(0,0,0,.6); }
.mi-title .mn-w > span { background:linear-gradient(100deg,#fff 22%,#b9c6ff 52%,#5e7be5 76%,#f06666); -webkit-background-clip:text; background-clip:text; color:transparent; }
.mi-case svg { fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* ── Hero: money lanes run into and out of the phone ── */
.mi-hero { position:relative; padding:clamp(30px, 5vw, 70px) 0 30px; overflow:clip; }
.mi-hero-glow { position:absolute; inset:-10% 0 0; pointer-events:none; background:radial-gradient(34% 42% at 64% 46%,rgba(94,123,229,.34),transparent 70%),radial-gradient(26% 30% at 88% 70%,rgba(240,102,102,.18),transparent 70%);
  -webkit-mask-image:linear-gradient(transparent,#000 12%,#000 80%,transparent); mask-image:linear-gradient(transparent,#000 12%,#000 80%,transparent); }
.mi-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:40px; align-items:center; }
.mi-hero-stage { position:relative; height:640px; }
.mi-hero-phone { --w:270px; position:absolute; left:50%; top:50%; z-index:2; translate:-50% -46%; opacity:0; transition:opacity .9s var(--mn-ease) .3s, translate 1.1s var(--mn-ease) .3s; }
.mi-hero.is-in .mi-hero-phone { opacity:1; translate:-50% -50%; }
.mi-lane { position:absolute; height:40px; container-type:inline-size; z-index:1; }
.mi-lane::before { content:""; position:absolute; left:0; right:0; top:50%; height:2px; translate:0 -50%; background:repeating-linear-gradient(90deg,var(--lc) 0 10px,transparent 10px 20px); opacity:.45;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent); mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent); }
.mi-lane--in { --lc:var(--mi-blue); left:-4%; right:50%; top:32%; }
.mi-lane--out { --lc:var(--mi-coral); left:50%; right:-4%; top:64%; }
.mi-coin { position:absolute; left:0; top:50%; margin-top:-17px; height:34px; padding:0 12px; display:flex; align-items:center; border-radius:10px; white-space:nowrap;
  font:700 14px/1 Satoshi,Inter,sans-serif; font-variant-numeric:tabular-nums; color:#fff; opacity:0;
  background:color-mix(in srgb, var(--lc) 26%, rgba(10,12,24,.8)); border:1px solid color-mix(in srgb, var(--lc) 60%, transparent); box-shadow:0 12px 30px -12px var(--lc);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.mi-hero.is-in .mi-coin { animation:mi-lane 6.6s linear infinite; animation-delay:calc(1s + var(--i) * 2.2s); }
@keyframes mi-lane { 0% { opacity:0; translate:0 0; } 12% { opacity:1; } 72% { opacity:1; } 88%, 100% { opacity:0; translate:calc(100cqw - 100%) 0; } }
.mi-tag { position:absolute; z-index:3; display:flex; align-items:center; gap:10px; padding:10px 14px 10px 10px; border-radius:12px; font:700 14px/1 Satoshi,Inter,sans-serif; color:#fff;
  background:rgba(14,16,30,.7); border:1px solid rgba(255,255,255,.14); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 20px 40px -20px rgba(0,0,0,.8);
  opacity:0; translate:0 16px; transition:opacity .8s var(--mn-ease) .9s, translate .9s var(--mn-ease) .9s; }
.mi-tag i { width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--tc); box-shadow:0 8px 20px -8px var(--tc); }
.mi-tag svg { width:16px; height:16px; stroke-width:2.6; }
.mi-tag--in { --tc:var(--mi-blue); left:2%; top:calc(32% - 62px); }
.mi-tag--out { --tc:var(--mi-coral); right:2%; top:calc(64% + 56px); transition-delay:1.1s; }
.mi-hero.is-in .mi-tag { opacity:1; translate:0 0; }

/* ── Two sides: the phone turns over; the side cards light up in turn ── */
.mi-switch { display:flex; flex-wrap:wrap; gap:8px; margin-top:30px; }
.mi-switch button { display:flex; align-items:center; gap:10px; padding:9px 16px 9px 9px; border-radius:12px; border:1px solid var(--mi-line); background:rgba(255,255,255,.04); color:var(--mn-mute);
  font:600 15px/1 Satoshi,Inter,sans-serif; cursor:pointer; transition:color .3s ease, background-color .3s ease, border-color .3s ease; }
.mi-switch button i { width:28px; height:28px; border-radius:8px; display:grid; place-items:center; color:#fff; background:rgba(255,255,255,.08); transition:background-color .3s ease; }
.mi-switch button svg { width:15px; height:15px; stroke-width:2.6; }
.mi-switch button[data-side="in"] { --sc:var(--mi-blue); }
.mi-switch button[data-side="out"] { --sc:var(--mi-coral); }
.mi-switch button.is-on { color:#fff; background:color-mix(in srgb, var(--sc) 18%, transparent); border-color:color-mix(in srgb, var(--sc) 60%, transparent); }
.mi-switch button.is-on i { background:var(--sc); }
.mi-switch button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.mi-mirror { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:clamp(24px, 4vw, 56px); align-items:center; margin-top:48px; }
.mi-side { --sc:var(--mi-blue); padding:28px; transition:opacity .6s var(--mn-ease), filter .6s var(--mn-ease); }
.mi-side--out { --sc:var(--mi-coral); }
.mi-side::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .6s var(--mn-ease);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--sc) 55%, transparent), 0 30px 80px -30px var(--sc); }
.mi-sides[data-side="in"] .mi-side--out, .mi-sides[data-side="out"] .mi-side--in { opacity:.5; filter:saturate(.45); }
.mi-sides[data-side="in"] .mi-side--in::after, .mi-sides[data-side="out"] .mi-side--out::after { opacity:1; }
.mi-side-icon { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:#fff; background:var(--sc); box-shadow:0 14px 30px -10px var(--sc); }
.mi-side-icon svg { width:22px; height:22px; stroke-width:2.6; }
.mi-side h3 { margin:22px 0 0; font:700 22px/1.25 Satoshi,Inter,sans-serif; letter-spacing:-.01em; }
.mi-side > p { margin:8px 0 0; color:var(--mn-mute); font-size:15.5px; line-height:1.55; }
.mi-bells { list-style:none; margin:22px 0 0; padding:0; display:grid; gap:10px; }
.mi-bells li { position:relative; display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:12px; font-size:14.5px; line-height:1.4; background:color-mix(in srgb, var(--sc) 9%, rgba(255,255,255,.03)); }
.mi-bells li::before { content:""; flex:none; width:18px; height:18px; background:var(--sc);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16V11a6 6 0 0 1 12 0v5l1.5 2h-15zM10 21h4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16V11a6 6 0 0 1 12 0v5l1.5 2h-15zM10 21h4'/%3E%3C/svg%3E") center/contain no-repeat; }
.mi-turn { perspective:1600px; }
.mi-turn-card { position:relative; transform-style:preserve-3d; transition:transform 1.1s cubic-bezier(.6,0,.2,1); }
.mi-face { --w:280px; -webkit-backface-visibility:hidden; backface-visibility:hidden; }
.mi-face--out { position:absolute; left:0; top:0; transform:rotateY(180deg); }
.mi-face--out .mn-phone-frame { box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 4px #08080b, 0 50px 90px -40px rgba(240,102,102,.6), 0 0 0 1px rgba(0,0,0,.6); }
.mi-sides[data-side="out"] .mi-turn-card { transform:rotateY(180deg); }

/* ── Case file: the folder opens, its history slides out and lights up step by step ── */
.mi-file-grid { display:grid; grid-template-columns:minmax(0,600px) auto; justify-content:space-around; gap:clamp(32px, 5vw, 80px); align-items:center; margin-top:56px; }
.mi-folder { position:relative; height:600px; max-width:600px; width:100%; perspective:1800px; }
.mi-folder-back { position:absolute; left:0; right:0; top:150px; bottom:0; border-radius:4px 22px 22px 22px;
  background:linear-gradient(170deg,#2a3778,#151b40 70%); box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 50px 90px -40px rgba(94,123,229,.6); }
.mi-folder-tab { position:absolute; right:0; bottom:100%; width:38%; height:30px; border-radius:14px 14px 0 0; background:#2a3778; box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
.mi-paper { position:absolute; left:5%; right:5%; top:0; height:410px; z-index:1; padding:22px 22px 0; border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02)),#10142c; border:1px solid rgba(169,184,255,.18); box-shadow:0 -20px 50px -30px rgba(0,0,0,.9);
  translate:0 200px; transition:translate 1.3s cubic-bezier(.3,.7,.2,1) .35s; }
.mi-folder.is-in .mi-paper { translate:0 0; }
.mi-folder-front { position:absolute; left:0; right:0; bottom:0; height:210px; z-index:2; padding:26px 28px; display:flex; flex-direction:column; justify-content:flex-end; gap:6px; border-radius:18px;
  background:linear-gradient(165deg,#6d88f0,#4259c2 60%,#33479f); box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 -18px 40px -20px rgba(0,0,0,.7), 0 40px 80px -40px rgba(94,123,229,.7);
  transform-origin:50% 100%; transition:transform 1.2s cubic-bezier(.3,.7,.2,1) .2s; }
.mi-folder.is-in .mi-folder-front { transform:rotateX(-24deg); }
.mi-folder-front b { font:800 30px/1.1 Satoshi,Inter,sans-serif; letter-spacing:-.02em; }
.mi-folder-front span { font-size:15px; color:rgba(255,255,255,.78); }
.mi-paper-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:0 0 12px; padding:0 4px 14px; border-bottom:1px solid rgba(255,255,255,.08); }
.mi-paper-head b { font:700 17px/1.2 Satoshi,Inter,sans-serif; }
.mi-paper-head span { font:600 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:#a9b8ff; letter-spacing:.02em; }
.mi-history { list-style:none; margin:0; padding:0; position:relative; display:grid; gap:2px; }
.mi-history::before { content:""; position:absolute; left:8px; top:12px; bottom:40px; width:2px; background:linear-gradient(var(--mi-blue),var(--mi-green)); opacity:.35; }
.mi-history li { opacity:0; translate:-12px 0; transition:opacity .6s var(--mn-ease), translate .7s var(--mn-ease); transition-delay:calc(1.1s + var(--i) * .16s); }
.mi-folder.is-in .mi-history li { opacity:1; translate:0 0; }
.mi-history button { all:unset; box-sizing:border-box; position:relative; width:100%; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:4px 14px; padding:10px 10px 10px 30px; border-radius:12px; cursor:pointer; transition:background-color .4s ease; }
.mi-history button::before { content:""; position:absolute; left:3px; top:50%; width:12px; height:12px; margin-top:-6px; border-radius:50%; background:#10142c; border:2px solid var(--c); transition:background-color .4s ease, box-shadow .4s ease; }
.mi-history em { font:600 12.5px/1 Satoshi,Inter,sans-serif; font-style:normal; display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border-radius:8px; white-space:nowrap;
  color:color-mix(in srgb, var(--c) 70%, #fff); background:color-mix(in srgb, var(--c) 18%, transparent); }
.mi-history em svg { width:13px; height:13px; stroke-width:2.4; }
.mi-history span { font-size:14.5px; line-height:1.35; color:var(--mn-mute); transition:color .4s ease; }
.mi-history li.is-current button { background:color-mix(in srgb, var(--c) 12%, transparent); }
.mi-history li.is-current button::before { background:var(--c); box-shadow:0 0 0 5px color-mix(in srgb, var(--c) 28%, transparent); }
.mi-history li.is-current span { color:#fff; }
.mi-history button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.mi-file-phone .mn-phone { --w:290px; }

/* ── Restrictions: rows on the left, the screen, and a padlock that opens for what a payment lifts ── */
.mi-locks-box { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:clamp(32px, 5vw, 72px); align-items:center; margin-top:48px; }
.mn-sub + .mi-locks-box { margin-top:48px; }
.mi-locks-nav { flex-direction:column; flex-wrap:nowrap; gap:10px; margin:0; }
.mi-locks-nav button { display:grid; grid-template-columns:42px minmax(0,1fr); grid-template-rows:auto auto; column-gap:14px; row-gap:5px; align-items:center; padding:14px 16px; border-radius:14px; text-align:left; }
.mi-locks-nav button i { grid-row:1 / 3; width:42px; height:42px; border-radius:12px; display:grid; place-items:center; color:var(--mi-coral); background:rgba(240,102,102,.14); transition:background-color .4s ease, color .4s ease; }
.mi-locks-nav button i svg { width:20px; height:20px; stroke-width:2.4; }
.mi-locks-nav button b { font:700 17px/1.2 Satoshi,Inter,sans-serif; color:var(--mn-ink); }
.mi-locks-nav button span { font:400 14.5px/1.4 Satoshi,Inter,sans-serif; color:var(--mn-mute); }
.mi-locks-nav button.is-active { background:rgba(240,102,102,.1); border-color:rgba(240,102,102,.5); }
.mi-locks-nav button.is-active i { color:#fff; background:var(--mi-coral); }
.mi-locks-stage { display:flex; align-items:center; gap:28px; }
.mi-locks-stage .mn-phone { --w:280px; }
.mi-locks-stage .mn-tabs-panels > img { scale:1; }
.mi-lock { --lc:var(--mi-coral); width:190px; padding:26px 18px 22px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; }
.mi-lock.is-open { --lc:var(--mi-green); }
.mi-lock-art { width:96px; height:112px; overflow:visible; margin-bottom:8px; filter:drop-shadow(0 14px 26px color-mix(in srgb, var(--lc) 60%, transparent)); transition:filter .6s ease; }
.mi-lock-art .mi-shackle { stroke:color-mix(in srgb, var(--lc) 70%, #fff); stroke-width:10; transition:stroke .6s ease, translate .7s cubic-bezier(.34,1.56,.64,1); }
.mi-lock.is-open .mi-shackle { translate:0 -16px; }
.mi-lock-art .mi-body { fill:var(--lc); stroke:none; transition:fill .6s ease; }
.mi-lock-art .mi-hole { stroke:rgba(10,12,24,.55); fill:rgba(10,12,24,.55); stroke-width:5; }
.mi-lock-state { font:700 17px/1.2 Satoshi,Inter,sans-serif; color:color-mix(in srgb, var(--lc) 60%, #fff); transition:color .6s ease; }
.mi-lock-note { font-size:14px; line-height:1.4; color:var(--mn-mute); text-wrap:balance; }

/* ── Payment: steps, the phone, and the total that adds up ── */
.mi-pay-grid { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,.85fr); gap:clamp(24px, 4vw, 56px); align-items:center; margin-top:48px; }
.mi-steps { list-style:none; margin:0; padding:0; display:grid; gap:8px; position:relative; }
.mi-steps button { all:unset; box-sizing:border-box; width:100%; display:grid; gap:5px; padding:14px 18px; border-radius:12px; border:1px solid transparent; cursor:pointer; opacity:.5; transition:opacity .4s ease, background-color .4s ease, border-color .4s ease; }
.mi-steps b { font:700 17px/1.2 Satoshi,Inter,sans-serif; }
.mi-steps span { font-size:14.5px; line-height:1.4; color:var(--mn-mute); }
.mi-steps button.is-on { opacity:1; background:rgba(94,123,229,.13); border-color:rgba(94,123,229,.5); }
.mi-steps button.is-past { opacity:.78; }
.mi-steps button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.mi-pay-phone .mn-phone { --w:280px; }
.mi-pay-screens > img { opacity:0; transition:opacity .55s var(--mn-ease); }
.mi-pay-screens > img.is-on { opacity:1; }
.mi-pay-screens::after { content:""; position:absolute; inset:0; z-index:2; background:rgba(10,12,30,.5); opacity:0; transition:opacity .5s ease; pointer-events:none; }
.mi-pay-screens.is-done::after { opacity:1; }
.mi-case .mi-pay-screens > .mi-pay-popup { inset:auto; left:7%; top:50%; width:86%; z-index:3; translate:0 -40%; scale:.9; transition:opacity .5s var(--mn-ease), translate .6s cubic-bezier(.34,1.56,.64,1), scale .6s cubic-bezier(.34,1.56,.64,1);
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.mi-case .mi-pay-screens > .mi-pay-popup.is-on { translate:0 -50%; scale:1; }
.mi-total { padding:26px; }
.mi-total h3 { margin:0 0 18px; font:700 19px/1.2 Satoshi,Inter,sans-serif; }
.mi-total dl { margin:0; display:grid; gap:4px; }
.mi-total dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:10px 0; border-bottom:1px dashed rgba(255,255,255,.14); opacity:.3; transition:opacity .6s ease; }
.mi-total dl > div:nth-child(2) { transition-delay:.2s; }
.mi-total dl > div:nth-child(3) { transition-delay:.4s; }
.mi-total dt { color:var(--mn-mute); font-size:15px; }
.mi-total dd { margin:0; font:700 16px/1.2 Satoshi,Inter,sans-serif; font-variant-numeric:tabular-nums; white-space:nowrap; }
.mi-total .mi-total-sum { border-bottom:0; }
.mi-total .mi-total-sum dt { color:#fff; font-weight:600; }
.mi-total .mi-total-sum dd { font-size:24px; color:var(--mi-blue-2); }
.mi-pay-grid.is-sum .mi-total dl > div { opacity:1; }
.mi-paid { margin:16px 0 0; display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:12px; font-weight:700; color:#d8f2d6; background:rgba(130,192,126,.14); border:1px solid rgba(130,192,126,.4);
  opacity:0; translate:0 8px; transition:opacity .5s ease, translate .6s var(--mn-ease); }
.mi-paid i { width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background:var(--mi-green); color:#fff; }
.mi-paid svg { width:15px; height:15px; stroke-width:3; }
.mi-pay-grid.is-paid .mi-paid { opacity:1; translate:0 0; }

/* ── Documents: a stack of papers that flips one to the back ── */
.mi-docs-grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:clamp(32px, 5vw, 80px); align-items:center; margin-top:48px; }
.mi-wallet { width:100%; display:flex; flex-direction:column; align-items:center; gap:30px; }
.mi-stack { position:relative; width:min(360px, calc(100% - 56px)); aspect-ratio:360/400; margin:20px 56px 0 0; touch-action:pan-y; }
.mi-doc { --k:0; position:absolute; inset:0; display:flex; flex-direction:column; gap:20px; padding:24px; border-radius:20px; cursor:grab; user-select:none;
  background:radial-gradient(120% 70% at 0% 0%,color-mix(in srgb, var(--c) 30%, transparent),transparent 60%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.015)),#11142a;
  border:1px solid color-mix(in srgb, var(--c) 40%, rgba(255,255,255,.08)); box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 40px 70px -40px rgba(0,0,0,.95), 0 30px 70px -40px color-mix(in srgb, var(--c) 70%, transparent);
  z-index:calc(10 - var(--k)); translate:calc(var(--k) * 18px) calc(var(--k) * -10px); rotate:calc(var(--k) * 3deg); scale:calc(1 - var(--k) * .04); opacity:calc(1 - var(--k) * .2); transform-origin:50% 100%;
  transition:translate .7s var(--mn-ease), scale .7s var(--mn-ease), opacity .5s ease, rotate .7s var(--mn-ease); }
.mi-doc.is-leaving { translate:-115% 30px; rotate:-14deg; opacity:0; transition-duration:.45s; }
.mi-doc.is-dragging { transition:none; }
.mi-doc header { display:flex; align-items:center; gap:14px; }
.mi-doc header i { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; color:#fff; background:var(--c); box-shadow:0 12px 26px -10px var(--c); }
.mi-doc header svg { width:21px; height:21px; }
.mi-doc header b { font:700 22px/1.2 Satoshi,Inter,sans-serif; letter-spacing:-.01em; }
.mi-doc-lines { display:grid; gap:10px; flex:1; align-content:start; }
.mi-doc-lines i { height:9px; border-radius:5px; background:rgba(255,255,255,.1); }
.mi-doc-lines i:nth-child(1) { width:92%; } .mi-doc-lines i:nth-child(2) { width:78%; } .mi-doc-lines i:nth-child(3) { width:86%; } .mi-doc-lines i:nth-child(4) { width:70%; } .mi-doc-lines i:nth-child(5) { width:82%; } .mi-doc-lines i:nth-child(6) { width:48%; }
.mi-doc-lines i:last-child { width:48%; }
.mi-doc-tags { display:flex; gap:6px; }
.mi-doc-tags span { padding:7px 10px; border-radius:8px; font-size:13px; font-weight:600; color:color-mix(in srgb, var(--c) 60%, #fff); background:color-mix(in srgb, var(--c) 16%, transparent); }
.mi-doc dl { margin:0; display:flex; justify-content:space-between; gap:16px; }
.mi-doc dt { font-size:13px; color:var(--mn-mute); }
.mi-doc dd { margin:4px 0 0; font:600 16px/1.2 Satoshi,Inter,sans-serif; font-variant-numeric:tabular-nums; }
.mi-doc footer { display:flex; gap:8px; }
.mi-doc footer span { flex:1; padding:11px 0; border-radius:12px; text-align:center; font-weight:700; font-size:14px; color:#dbe2ff; background:rgba(94,123,229,.18); }
.mi-doc footer span + span { color:#d8f2d6; background:rgba(130,192,126,.16); }
.mi-wallet-nav { display:flex; align-items:center; gap:18px; }
.mi-wallet-nav button { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; color:#fff; cursor:pointer; border:1px solid var(--mi-line); background:rgba(255,255,255,.05); transition:background-color .3s ease, border-color .3s ease; }
.mi-wallet-nav button svg { width:20px; height:20px; stroke-width:2.4; }
.mi-wallet-nav button:hover { background:rgba(94,123,229,.2); border-color:rgba(94,123,229,.5); }
.mi-wallet-nav button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.mi-wallet-count { min-width:90px; text-align:center; }
.mi-wallet-count b { font:700 16px/1.2 Satoshi,Inter,sans-serif; font-variant-numeric:tabular-nums; color:var(--mn-mute); }
.mi-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mi-docs-phone .mn-phone { --w:280px; }

/* ── Web portal ── */
.mi-web-tabs .mn-browser { box-shadow:0 50px 90px -40px rgba(94,123,229,.55), 0 0 0 1px rgba(0,0,0,.5); }

/* ── Outcome ── */
.mi-outcome .mn-stat-row { margin-top:clamp(40px, 5vw, 64px); }
.mi-reflect { padding-bottom:20px; }

/* ── Responsive ── */
@media (max-width:1199px) {
  .mi-pay-grid { grid-template-columns:minmax(0,1fr) auto; }
  .mi-total { grid-column:1 / -1; max-width:520px; }
  .mi-mirror { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .mi-turn { grid-column:1 / -1; grid-row:1; justify-self:center; }
}
@media (max-width:1024px) {
  .mi-hero-grid { grid-template-columns:1fr; }
  .mi-hero-stage { height:600px; }
  .mi-file-grid, .mi-docs-grid { grid-template-columns:1fr; justify-items:center; }
  .mi-locks-box { grid-template-columns:1fr; }
  .mi-locks-stage { justify-content:center; }
}
@media (max-width:767px) {
  .mi-hero-stage { height:520px; }
  .mi-hero-phone { --w:220px; }
  .mi-lane--in { left:0; top:30%; }
  .mi-lane--out { right:0; top:66%; }
  .mi-coin { font-size:12.5px; height:30px; margin-top:-15px; padding:0 9px; }
  .mi-tag { font-size:12.5px; padding:8px 11px 8px 8px; }
  .mi-tag i { width:24px; height:24px; }
  .mi-tag--in { left:0; top:calc(30% - 54px); }
  .mi-tag--out { right:0; top:calc(66% + 46px); }
  .mi-mirror { grid-template-columns:1fr; gap:20px; }
  .mi-face { --w:240px; }
  .mi-side { padding:22px; }
  .mi-folder { height:720px; }
  .mi-paper { left:3%; right:3%; height:560px; padding:16px 12px 0; }
  .mi-history button { grid-template-columns:1fr; padding:7px 8px 7px 28px; }
  .mi-history::before { bottom:60px; }
  .mi-folder-front { height:170px; padding:20px; }
  .mi-folder-front b { font-size:24px; }
  .mi-folder-front span { font-size:14px; }
  .mi-file-phone .mn-phone, .mi-docs-phone .mn-phone, .mi-pay-phone .mn-phone { --w:250px; }
  .mi-locks-stage { flex-direction:column; }
  .mi-locks-stage .mn-phone { --w:250px; }
  .mi-lock { width:100%; max-width:320px; display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:18px; row-gap:4px; align-items:center; text-align:left; padding:18px 20px; }
  .mi-lock-art { grid-row:1 / 3; width:52px; height:62px; margin:0; }
  .mi-pay-grid { grid-template-columns:1fr; justify-items:center; }
  .mi-steps { width:100%; }
  .mi-total { width:100%; }
  .mi-doc { padding:20px; gap:16px; }
  .mi-stack { margin-right:40px; width:min(360px, calc(100% - 40px)); }
  .mi-doc { translate:calc(var(--k) * 11px) calc(var(--k) * -8px); rotate:calc(var(--k) * 2deg); }
  .mi-doc header b { font-size:19px; }
}
@media (prefers-reduced-motion:reduce) {
  .mi-hero-phone, .mi-tag, .mi-history li, .mi-paid { opacity:1 !important; translate:none !important; }
  .mi-hero-phone { translate:-50% -50% !important; }
  .mi-coin { animation:none !important; opacity:1; translate:calc(var(--i) * 34cqw) 0; }
  .mi-paper { translate:none !important; }
}
